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

Fix Docker running user to root #11

Merged
merged 1 commit into from
Oct 25, 2018
Merged

Fix Docker running user to root #11

merged 1 commit into from
Oct 25, 2018

Conversation

int128
Copy link
Owner

@int128 int128 commented Oct 25, 2018

This will fix the issue that docker command shows the error:

% docker run --rm -e webhook=... -v /var/run/docker.sock:/var/run/docker.sock slack-docker
2018/10/25 00:37:47 Error: Could not get version from the Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.25/version: dial unix /var/run/docker.sock: connect: permission denied

This will fix the issue that docker command shows the error:
% docker run --rm -e webhook=... -v /var/run/docker.sock:/var/run/docker.sock slack-docker
2018/10/25 00:37:47 Error: Could not get version from the Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.25/version: dial unix /var/run/docker.sock: connect: permission denied
@int128 int128 merged commit 81e6fb3 into master Oct 25, 2018
@int128 int128 deleted the fix-docker-user branch October 25, 2018 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant