Last active
February 17, 2022 18:47
-
-
Save wotori/70f34f95c599fe743cc4d372d24ef723 to your computer and use it in GitHub Desktop.
docker without sudo
This file contains 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
#1 - should be enough | |
sudo setfacl -m user:$USER:rw /var/run/docker.sock | |
#2 | |
sudo usermod -aG docker $USER | |
#3 | |
sudo groupadd docker | |
sudo gpasswd -a $USER docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment