sudo docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
myvm1 - virtualbox Running tcp://192.168.99.100:2376 v17.09.0-ce
myvm2 - virtualbox Running tcp://192.168.99.101:2376 v17.09.0-ce
I have set proxy values in the below files:
/etc/systemd/system/docker.service.d/http-proxy.conf
and
/etc/systemd/system/docker.service.d/https-proxy.conf
Is there any more configurations needed ?
What can I check to find why this doesn’t work ?
Basic beginner issue. I’m just starting with Dockers and I’m trying out the steps under Get Started section in the docs.
I’m using an Ubuntu machine. It is behind a proxy. Docker version: 17.09.0-ce Docker machine version: 0.13.0
I’m trying “Configure a docker-machine shell to the swarm manager” as in the link - https://docs.docker.com/get-started/part4/#configure-a-docker-machine-shell-to-the-swarm-manager
After setting the environment variables using - eval $(docker-machine env myvm1)
I still done see that myvm1 is active.
sudo docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS myvm1 - virtualbox Running tcp://192.168.99.100:2376 v17.09.0-ce myvm2 - virtualbox Running tcp://192.168.99.101:2376 v17.09.0-ce
I have set proxy values in the below files: /etc/systemd/system/docker.service.d/http-proxy.conf and /etc/systemd/system/docker.service.d/https-proxy.conf
Is there any more configurations needed ? What can I check to find why this doesn’t work ?