Skip to content

Can't Install Applications

XternA edited this page May 21, 2024 · 5 revisions

Permission denied? Something about Docker socket?

Did you get error messages looking like this when installing applications?

Income Generator Application Manager
----------------------------------------

Installing only applications supporting VPS/Hosting...

unable to get image 'xterna/spide-network': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.45/images/xterna/spide-network/json": dial unix /var/run/docker.sock: connect: permission denied
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
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.45/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dcompose%22%3Atrue%7D%7D": dial unix /var/run/docker.sock: connect: permission denied

Because Docker requires root privilege, for compatibility with macOS which doesn't allow execution using sudo, it's required to log out or restart the machine so that the docker user can be registered to the user group properly, instead of the tool executing using sudo.

This issue will disappear after the initial reboot or re-logging back in.

Clone this wiki locally