docker-osx-dev
docker-osx-dev copied to clipboard
invalid dockerhost entry in /etc/hosts
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?
Oh god this would be nice.
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 :)
According to https://docs.docker.com/machine/migrate-to-machine/ , docker-machine ip
is the equivalent to boot2docker ip
.