Docker Bridge Conflicts with Host Network

When docker networks are created (e.g. using docker network create or indirectly through docker-compose) without explicitly specifying a subnet range, dockerd allocates a new /16 network, starting from 172.N.0.0/16, where N is a number that is incremented (e.g. N=17, N=18, N=19, N=20, …). A given N is skipped if a docker network (a custom one, … Read more

docker-machine behind corporate proxy

As previously mentioned, you can edit the file at $HOME\.docker\machine\machines\default\config.json and set the HTTP_PROXY, HTTPS_PROXY and NO_PROXY variables (or delete them): “HostOptions”: { “Driver”: “”, … “EngineOptions”: { … “Env”: [ “HTTP_PROXY=http://10.121.8.110:8080”, “HTTPS_PROXY=http://10.121.8.110:8080”, “NO_PROXY=192.168.23.4” ], After the file has edited, you only have to execute: docker-machine provision

Error checking TLS connection: Error checking and/or regenerating the certs

Please try regenerating certificates manually by: docker-machine –debug regenerate-certs -f default and check for any errors to fix, then try again: docker-machine –debug env default If it’s failing on ssh, copy and paste that command into terminal to see what’s the problem by adding extra -vv. If you’ve got: debug1: connect to address 127.0.0.1 port … Read more

docker-machine: command not found

Docker machine has been removed from later versions of Docker Desktop. Your going to need the docker-toolbox package. Read here for install and co existence of the packages. https://docs.docker.com/docker-for-mac/docker-toolbox/#docker-toolbox-and-docker-desktop-coexistence

What is the difference between docker-machine and docker-compose?

Docker is the command-line tool that uses containerization to manage multiple images and containers and volumes and such — a container is basically a lightweight virtual machine. See https://docs.docker.com/ for extensive documentation. Until recently Docker didn’t run on native Mac or Windows OS, so another tool was created, Docker-Machine, which creates a virtual machine (using … Read more

tech