byob icon indicating copy to clipboard operation
byob copied to clipboard

: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:

Open RecoX opened this issue 5 years ago • 6 comments

When I try to create an exe for windows it throws this error:

'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.24/containers/create: dial unix /var/run/docker.sock: connect: permission denied.' b"See 'docker run --help'."

I'm in ubuntu, any idea?

RecoX avatar Jun 12 '21 11:06 RecoX

Did you install docker using apt install docker.io?

If so, this is an outdated method and won't work. You'll need to uninstall docker and reinstall using their official documentation. After that just build the images again and run the server.

fireFerry avatar Jun 12 '21 14:06 fireFerry

I followed this guide:

https://docs.docker.com/engine/install/ubuntu/

And idk if this is related but after rebooting the computer now I can't use it anymore. It stuck meanwhile it boots in /deb/sda2: clean xxxxx/xxxxx files, xxxxx/xxxx blocks now I'm trying to fix the O.S.

RecoX avatar Jun 12 '21 23:06 RecoX

Saying you installed from that guide does not help us much as there is 3 ways listed. You need to use a convenience script which can be found further down in the guide, one is also provided in the main web-gui directory called “get-docker.sh”.

Byob is not known to cause operating systems to stop working and this hasn’t been reported by any other users (to my knowledge), it is likely something else you were doing with the machine or your virtualization software (if applicable).

garsh1 avatar Jun 13 '21 05:06 garsh1

Thanks for the reply guys, ill try soon again if I got better luck.

RecoX avatar Jun 13 '21 20:06 RecoX

Stale issue message

github-actions[bot] avatar Aug 13 '21 01:08 github-actions[bot]

I have this issue, did anyone find the solution?

p0syd0n avatar Jan 02 '24 23:01 p0syd0n