Skip to content

Instantly share code, notes, and snippets.

@leveled
Last active November 21, 2021 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leveled/5bf21a110c40e1ee9e62ab2dbe5519cb to your computer and use it in GitHub Desktop.
Save leveled/5bf21a110c40e1ee9e62ab2dbe5519cb to your computer and use it in GitHub Desktop.
Add service user and then add to docker group
sudo adduser --no-create-home <service_name>
sudo usermod -aG docker <service_name>
su - <service_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment