Last active
September 3, 2022 05:09
-
-
Save v0lkan/4ce942640fff317fcd0637019af37c0f to your computer and use it in GitHub Desktop.
How to fix the “Got permission denied while trying to connect to the Docker daemon…” warning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ref: https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user | |
sudo groupadd docker | |
sudo usermod -aG docker ${USER} | |
su -s ${USER} | |
# If that does not work, try this: | |
# newgrp docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment