From 82a42d7b86dd3a00163bd3cac38ad32e4b609a42 Mon Sep 17 00:00:00 2001 From: desimaniac Date: Tue, 21 Mar 2017 05:52:48 -0500 Subject: [PATCH] Created Synology DSM Install (markdown) --- Synology-DSM-Install.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Synology-DSM-Install.md diff --git a/Synology-DSM-Install.md b/Synology-DSM-Install.md new file mode 100644 index 0000000..2152a08 --- /dev/null +++ b/Synology-DSM-Install.md @@ -0,0 +1,8 @@ +The docker version installed on Synology DSM 6/6.1 is older than the one supported by Watchtower. Until Synology updates docker or Watchtower lowers the compatibility requirements, here are the steps to get it to work with an older version of Watchtower. + +Steps: +1. Symlink /var/run/docker.sock to /volume1/docker/docker.sock: `sudo ln -s /var/run/docker.sock /volume1/docker/docker.sock` + +2. docker run command: `sudo docker run -d --name watchtower -v /volume1/docker/docker.sock:/var/run/docker.sock centurylink/watchtower --interval 82800 --cleanup` + +Note: The symlink to docker.sock is important (vs pointing to /var/run/docker.sock directly) to make it to able restart from the Synology GUI.