Skip to content

Instantly share code, notes, and snippets.

@wotori
Last active February 17, 2022 18:47
Show Gist options
  • Save wotori/70f34f95c599fe743cc4d372d24ef723 to your computer and use it in GitHub Desktop.
Save wotori/70f34f95c599fe743cc4d372d24ef723 to your computer and use it in GitHub Desktop.
docker without sudo
#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