8000 denied · Issue #63 · tomsik68/docker-xampp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

denied #63

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

Open
ebelouet opened this issue May 25, 2024 · 1 comment
Open

denied #63

ebelouet opened this issue May 25, 2024 · 1 comment
Assignees
Labels

Comments

@ebelouet
Copy link

Hi,

I don't have permission, where is mistake ?
docker: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.
sincerely
Eric

@tomsik68
Copy link
Owner
tomsik68 commented Jun 1, 2024

Hey Eric, it looks like you're running docker on Linux. Usually after installing docker, you need to add your user to a special group of users that allows you to access the docker socket - this group is usually named docker. Try googling "Docker CLI as non-root on ". After adding yourself to that group, you need to logout and log back in.

If you want to be able to run the docker CLI command as a non-root user, add your user to the docker user group, re-login, and restart docker.service.

For example, here's an archlinux wiki article about it.

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

No branches or pull requests

2 participants
0