permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied
The solution I've found is to go onto the VMSS its self, and update the user permissions:
sudo usermod -a -G docker $USER
This required me to restart the VMSS instance, but that fixed it. In the install script file, perhaps we could add the usermod statement.
The user within the GitHub runner is unable to interact with the Docker daemon. Take the following GitHub action:
This returns the following error:
The solution I've found is to go onto the VMSS its self, and update the user permissions:
This required me to restart the VMSS instance, but that fixed it. In the install script file, perhaps we could add the
usermod
statement.