Docker Community Forums

Share and learn in the Docker community.

Beta Docker.local not available after restart


(Michael Gehrmann) #1

http://docker.local/ is not available on Mac Beta, after restating the Computer. Works fine after fresh install, but not after restart. I can’t locate the IP-Address of a running container.

Expected behavior

A start a Dockerized web server should be available http://docker.local/.

Actual behavior

http://docker.local/ is not available on Mac Docker Beta Docker.app: version v1.11.0-beta8.2 after restarting the computer. The Host in unknown.

ping: cannot resolve docker.local: Unknown host

Information

OS X: version 10.11.4 (build: 15E65)
Docker.app: version v1.11.0-beta8.2
Running diagnostic tests:
[OK]      docker-cli
[OK]      Moby booted
[OK]      driver.amd64-linux
[OK]      vmnetd
[OK]      osxfs
[OK]      db
[OK]      slirp
[OK]      menubar
[OK]      environment
[OK]      Docker
[OK]      VT-x
Docker logs are being collected into /tmp/20160425-085212.tar.gz
Most specific failure is: No error was detected

Docker version

Client:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 19:36:04 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   a5315b8
 Built:        Mon Apr 18 19:19:21 2016
 OS/Arch:      linux/amd64

Steps to reproduce the behavior

  1. Install Docker for Mac Beta
  2. Restart your Mac
  3. Start a Webserver docker run -d -p 80:80 --name webserver nginx
  4. Open http://docker.local/

(Ryan Eschinger) #2

I’m also running into this. Anybody aware of how to restore the correct behavior post-reboot (short of an uninstall/reinstall)?


(Tompson) #3

there is already a thread about this problem here: VPN compatibiliy always enabled

has something todo with the VPN always enabled


(Mediumtestfw) #4

I’m facing the same issue, and I notice too

$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
97607c227368 nginx “nginx -g 'daemon off” 2 days ago Up 3 minutes 0.0.0.0:80->80/tcp, 443/tcp webserver

In the docs mention that the PORTS should look like x.y.x.w:80->80/tcp but my is 0.0.0.0:80->80/tcp

I added an entry to the hosts file for docker.local.

Any idea ?


(Kevin Gustavson) #5

I suddenly started having this issue in 1.11.0-beta8. However my PORTS are reporting something different.

None:8080->80/tcp

Also I get an error when trying to ping docker.local:

$ ping docker.local
ping: cannot resolve docker.local: Unknown host

UPDATE:
Here’s a work-around for the None issue.


(Michael Gehrmann) #6

The Issue seems to be fixed, since docker.local has been replaced by localhost the restart isn’t a problem anymore!

Thanks Docker Team! :smile: :thumbsup:

Client:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 5604cbe
Built: Wed Apr 27 00:34:20 2016
OS/Arch: darwin/amd64

Server:
Version: 1.11.1
API version: 1.23
Go version: go1.5.4
Git commit: 8b63c77
Built: Fri Apr 29 14:13:26 2016
OS/Arch: linux/amd64


(Carl J. Mosca) #7

It’s not working for me - I still have the originally described issue with 1.11.1-beta11


(Ricobee) #8

Same thing here - docker.local not resolving. Uninstalled and reset 4 times now, no change… Giving up on this for now. Cant access my locally running MySQL Server (yes its open and listening on 0.0.0.0) Docker Toolbox gave at least a proper static IP I could talk to.