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 build: permission denied on systems where docker group is not used #12

Open
gavanderhoorn opened this issue Jan 3, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@gavanderhoorn
Copy link
Member

Trying to run the docker/build.sh script on systems where the docker group is not used to give access to the Docker socket to all members results in the following error message being displayed:

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.39/build?buildargs=%7B%22BUILD_VERSION%22%3A%2203%22%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=a986qu72woijd4y3zh7lbp1kq&shmsize=0&t=robust-rosin%2Frosinstall_generator_time_machine%3A03&target=&ulimits=null&version=1: dial unix /var/run/docker.sock: connect: permission denied
@gavanderhoorn gavanderhoorn added the bug Something isn't working label Jan 3, 2019
@gavanderhoorn
Copy link
Member Author

Running build.sh with sudo (obviously) fixes this, but that may not be the best way to approach this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant