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: Unit file docker.service does not exist. #1

Open
lucylow opened this issue Nov 25, 2019 · 5 comments
Open

Docker: Unit file docker.service does not exist. #1

lucylow opened this issue Nov 25, 2019 · 5 comments

Comments

@lucylow
Copy link
Owner

lucylow commented Nov 25, 2019

solution:

sudo systemctl unmask docker.service
sudo systemctl unmask docker.socket
sudo systemctl start docker.service

@lucylow
Copy link
Owner Author

lucylow commented Nov 25, 2019

docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied.

@lucylow
Copy link
Owner Author

lucylow commented Nov 25, 2019

@lucylow
Copy link
Owner Author

lucylow commented Nov 25, 2019

sudo chmod 666 /var/run/docker.sock

@jpsiyyadri
Copy link

didn't work for RHEL

@sousaep1974
Copy link

I did all these steps but it still didn't work. Did you get this error:

"docker: Error response from daemon: dial unix /mnt/wsl/docker-desktop/shared-sockets/guest-services/docker.sock: connect: no such file or directory.
See 'docker run --help'."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants