docker-osx-dev icon indicating copy to clipboard operation
docker-osx-dev copied to clipboard

invalid dockerhost entry in /etc/hosts

Open KamilKopaczyk opened this issue 9 years ago • 3 comments

Hello,

due some unknown reasons, my boot2docker machine was runnig under .104 IP. docker-osx-dev added this as a entry to /etc/hosts and until i edited it manually i couldn't sync my files properly.

Can't 'docker-osx-dev' script run

boot2docker ip

instead of relying on /etc/hosts entry?

KamilKopaczyk avatar Jul 25 '15 11:07 KamilKopaczyk

Oh god this would be nice.

abritinthebay avatar Aug 11 '15 19:08 abritinthebay

The script probably could do that for the boot2docker use case. I'm not sure what would be the equivalent for the docker-machine use case. PRs are welcome :)

brikis98 avatar Aug 11 '15 20:08 brikis98

According to https://docs.docker.com/machine/migrate-to-machine/ , docker-machine ip is the equivalent to boot2docker ip.

kindlyseth avatar May 12 '16 21:05 kindlyseth