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

gid of docker.sock in host will be changed as it will be overwritten by container's docker #152

Open
mookjp opened this issue Apr 12, 2015 · 0 comments
Labels

Comments

@mookjp
Copy link
Owner

mookjp commented Apr 12, 2015

Reporting in this PR: #150

My host has docker group and docker.sock owned by root:docker, 0660.
Starter script chown root:docker /var/run/docker.sock against mounted docker.sock, that changes owner gid of host's docker.sock.
To avoid this, I change container's docker gid to host's one with

${POOL_BIN_PATH}/docker-enter pool groupmod -g $(grep docker: /etc/group | awk -F ':' '{ print $3 }') > docker
@mookjp mookjp added the bug label Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant