-
Notifications
You must be signed in to change notification settings - Fork 21
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 installation does not set proper permissions on socket #40
Comments
Hi @Jak42, thank you for opening this issue. The script does have the command to add the current user to the docker group as seen here in line 37: https://github.com/VOLTTRON/volttron-docker/blob/main/docker_install_ubuntu.sh#L37 Can you outline the steps to reproduce this error? Can you also paste the error that you saw? Also, what was the environment that you ran this script in? |
Mark,
Actually, this is a general Docker problem. The Unix socket Docker opens
requires root permissions to use, so the incantation I gave in the bug
report is the recommended way to fix the problem. I didn't use the script
to install Docker, since I was running on Ubuntu 20.04 and not 18.04.
So I think you can just close the bug. Sorry about the confusion.
jak
…On Mon, Aug 9, 2021 at 11:09 AM Mark Bonicillo ***@***.***> wrote:
Hi @Jak42 <https://github.com/jak42>, thank you for opening this issue.
The script does have the command to add the current user to the docker
group as seen here in line 37:
https://github.com/VOLTTRON/volttron-docker/blob/main/docker_install_ubuntu.sh#L37
Can you outline the steps to reproduce this error? Can you also paste the
error that you saw? Also, what was the environment that you ran this script
in?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADE62GX7H6PG6V5CBFTNK5DT4AKVRANCNFSM5ADOUDRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
@Jak42 Thanks for the clarification. Closing issue as requested. |
The installation of Docker does not set proper permissions on the socket, and as a result an error message occurs when you try to start docker-compose. The following will fix the problem:
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
The text was updated successfully, but these errors were encountered: