After update Docker for Mac to beta8 version, the ip of container with nginx is change to “None”:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e33db80d9a4f phpdockerio/nginx:latest "/usr/sbin/nginx" 45 seconds ago Up 44 seconds None:80->80/tcp, 443/tcp sistema-webserver
c9111c0bd1e7 phpdocker_sistema-php-fpm "/usr/sbin/php5-fpm" 46 seconds ago Up 44 seconds 9000/tcp sistema-php-fpm
In beta7:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6345da422c17 phpdockerio/nginx:latest "/usr/sbin/nginx" About a minute ago Up About a minute 192.168.64.4:80->80/tcp, 443/tcp sistema-webserver
04e664b17d6d phpdocker_sistema-php-fpm "/usr/sbin/php5-fpm" About a minute ago Up About a minute 9000/tcp sistema-php-fpm
Expected behavior
Access docker.local normally.
Actual behavior
docker.local not load.
Information
phpdocker pinata diagnose -u
OS X: version 10.10.5 (build: 14F1021)
Docker.app: version v1.11.0-beta7
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/20160420-213508.tar.gz
Most specific failure is: No error was detected
Your unique id is: 0E8A6B3F-0B93-40F8-90C5-5397B62D1C8C
Please quote this in all correspondence.
I’m experiencing the same issue, Docker for Mac is running but docker.local isn’t available and IPs on docker ps are labeled as None. Tried restarting the client as well, no help. On beta 8.
➜ ~ pinata diagnose -u
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/20160421-113554.tar.gz
Most specific failure is: No error was detected
Your unique id is: 36954A97-82D6-4BDE-A62D-D00E2EAC29CA
Please quote this in all correspondence.
After starting a simple service with docker-compose:
➜ ~ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0ec949f80436 navigate/php:5.6 "apache2-foreground" 15 seconds ago Up 14 seconds None:80->80/tcp spkhd_app_1
docker-compose quits with:
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).
If the IP address shows up as “None” it means the VM failed to connect to the Apple “vmnet.framework”. There is currently a workaround: switch to exposing ports on localhost rather than docker.local:
pinata set native/port-forwarding true
This will reboot the VM, and then ports will be exposed on localhost on the Mac instead of docker.local e.g. “docker run -p 8080:80 nginx” will expose “nginx” on “http://localhost:8080/” instead of “http://docker.local:8080/”
I tried this but “None” continues to appear and yes, I can access using localhost. But, I’ve a problem: my mysql is running in OS X (host) and my app can’t connect to him using localhost or 127.0.0.1 or 192.168.64.1 (this IP points to my OSX, in beta7).
This worked for me - I thought I tried it before but I must have used the forwarded port etc. Is there a way to use forwarded ports with this approach?
Can confirm - reverting to beta7 fixed this issue. To the Docker team, it would be great if beta7 were still available for download on the main page. I’m glad I had a copy of it.