You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Network is unreachable error for all docker commands #12
Docker commands (e.g. docker images, docker ps) should be working as expected.
Actual behavior
Docker commands error due to network issues.
$ docker images
An error occurred trying to connect: Get https://192.168.59.103:2376/v1.24/images/json: dial tcp 192.168.59.103:2376: getsockopt: network is unreachable
$ docker ps
An error occurred trying to connect: Get https://192.168.59.103:2376/v1.24/containers/json: dial tcp 192.168.59.103:2376: getsockopt: network is unreachable
Information
Diagnostic ID: B05ACE3C-2617-4A74-81F9-62001BFEE9BE
Docker for Mac: 1.12.0 (Build 10871)
macOS: Version 10.11.4 (Build 15E65)
[OK] docker-cli
[OK] app
[OK] moby-syslog
[OK] disk
[OK] virtualization
[OK] system
[OK] menubar
[OK] osxfs
[OK] db
[OK] slirp
[OK] moby-console
[OK] logs
[OK] vmnetd
[OK] env
[OK] moby
[OK] driver.amd64-linux
Fixed this by unsetting these environment variables.
I think I added these when using docker on virtualbox. I'd recommend documenting this (or automating their removal) for anyone who switches to docker for mac.
Reacted by French Ben, John Bender, Miron, Einar, Dmitry Makarenko, Rodrigo Webler and Victor Kurauchi
Activity
FrenchBen commentedon Jul 29, 2016
Out of curiosity what is the output of:
env | grep -i "docker"and
alias | grep -i "docker"mgartner commentedon Jul 29, 2016
alias | grep -i "docker"outputs nothingmgartner commentedon Jul 29, 2016
Fixed this by unsetting these environment variables.
I think I added these when using docker on virtualbox. I'd recommend documenting this (or automating their removal) for anyone who switches to docker for mac.
FrenchBen commentedon Jul 29, 2016
That's exactly what I had in mind - the big tell-tell was the IP you showed.
Happy to hear this was resolved.
docker-robott commentedon Jun 16, 2020
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked