Skip to content

Instantly share code, notes, and snippets.

@stefanahman
Last active January 22, 2017 20:15
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 stefanahman/edae34284b0b0e173e2b605549492ce2 to your computer and use it in GitHub Desktop.
Save stefanahman/edae34284b0b0e173e2b605549492ce2 to your computer and use it in GitHub Desktop.
Docker setup
# Create system user without home directory
sudo adduser --system --group --no-create-home <user>
# We want to avoid typing sudo whenever we run the docker command
sudo usermod -aG docker <user>
# List ids
id -u homebridge
id -g homebridge
# Copy service file
https://gist.github.com/stefanahman/e835eb3302ab081297168f7790dcdc2c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment