Skip to content

Instantly share code, notes, and snippets.

@newkind
Last active September 30, 2019 12:18
Show Gist options
  • Save newkind/57eac51737ed6879f047644cb24bb697 to your computer and use it in GitHub Desktop.
Save newkind/57eac51737ed6879f047644cb24bb697 to your computer and use it in GitHub Desktop.
Synology Docker Snippets
# README
# Various snippets to predictably create containers on a NAS
# On newer versions of DSM, we don't need to symlink docker.sock first
# https://github.com/v2tec/watchtower/wiki/Synology-DSM-Installation-Guide
sudo docker run -d \
--name Ouroboros \
-e CRON="0 5 * * *" \
-e LOGLEVEL=info \
-e SELF_UPDATE=true \
-e RUNONCE=false \
-e CLEANUP=true \
-e TZ=Europe/Warsaw \
-v /var/run/docker.sock:/var/run/docker.sock \
--restart unless-stopped \
pyouroboros/ouroboros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment