Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker info or any docker command on macos not working #491

Closed
tvfischer opened this issue Sep 1, 2016 · 2 comments
Closed

docker info or any docker command on macos not working #491

tvfischer opened this issue Sep 1, 2016 · 2 comments

Comments

@tvfischer
Copy link

Expected behavior

after starting docker, expect to be able to run any docker command in terminal and get results as listed in documentation.

Actual behavior

After starting docker, the docker commands in the terminal all complain that they cannot connect to docker.

tfischer-MBP:ATPDev tfischer$ docker info
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

IT claims that the docker deamon is not running but the sock file exists

fischer-MBP:ATPDev tfischer$ ls -al  /var/run/docker.sock 
lrwxr-xr-x  1 root  daemon  55  1 Sep 13:35 /var/run/docker.sock -> /var/root/Library/Containers/com.docker.docker/Data/s60

Information

Diagnostic ID: 4500F151-4360-4FDF-8582-D64BCAE69B72
Docker for Mac: 1.12.0-a (Build 11213)
macOS: Version 10.11.6 (Build 15G31)
[ERROR] docker-cli
/var/run/docker.sock does not exist
Permission denied (EACCES) connecting to /var/run/docker.sock: check permissions
docker ps failed
[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

Steps to reproduce

  1. install docker from dmg
  2. run docker wait for docker to say it is started
  3. Open terminal session
  4. enter docker info in terminal
@dave-tucker
Copy link
Contributor

@tvfischer
Thanks for the report. Closing as a dupe of #47
There is also a workaround posted there that should help you out!

@docker-robott
Copy link
Collaborator

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

@docker docker locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants