Skip to content

Instantly share code, notes, and snippets.

@joebordes
Last active November 2, 2019 10:05
Show Gist options
  • Save joebordes/375b0c395741c4eed06b0abe55596a78 to your computer and use it in GitHub Desktop.
Save joebordes/375b0c395741c4eed06b0abe55596a78 to your computer and use it in GitHub Desktop.
### Create user for process
adduser --system --shell /bin/bash --gecos 'Desc of process' --group --disabled-password --home /home/$USER $USER
### add user to group
usermod -aG docker $USER
### Create docker-compose file
su - %USER
create and test docker-compose.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment