mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
"Write" mode and Preview" Reverted last change.
parent
7442a9b4ab
commit
3f08eeb846
1 changed files with 3 additions and 4 deletions
|
@ -12,11 +12,10 @@ Steps:
|
||||||
5. Click "Task Settings" tab. Under "Run command - User-defined script", paste `sudo ln -s /var/run/docker.sock /volume1/docker/docker.sock` into the text box and press "OK".
|
5. Click "Task Settings" tab. Under "Run command - User-defined script", paste `sudo ln -s /var/run/docker.sock /volume1/docker/docker.sock` into the text box and press "OK".
|
||||||
6. The newly created task will be listed there. Click to highlight it and then click "Run" to run it once, immediately.
|
6. The newly created task will be listed there. Click to highlight it and then click "Run" to run it once, immediately.
|
||||||
|
|
||||||
2. Next, we need to download/pull and install the docker container. We can do all this with a single "docker run" command via shell.
|
3. Next, we need to download/pull and install the docker container. We can do all this with a single "docker run" command via shell.
|
||||||
1. First, SSH into Synology.
|
1. First, SSH into Synology.
|
||||||
2. Then, run the following docker run command as sudo: `sudo docker run -d --name watchtower -v /volume1/docker/docker.sock:/var/run/docker.sock v2tec/watchtower --interval 82800 --cleanup`
|
2. Then, run the following docker run command as sudo: `sudo docker run -d --name watchtower -v /volume1/docker/docker.sock:/var/run/docker.sock v2tec/watchtower --interval 82800 --cleanup`
|
||||||
|
|
||||||
3. You will now be able to run Watchtower via the Synology Docker GUI. You may also set it to restart automatically within the container settings.
|
4. You will now be able to run Watchtower via the Synology Docker GUI. You may also set it to restart automatically within the container settings.
|
||||||
|
|
||||||
Note: You may be able to do step 2 without using the shell (i.e. SSH) by scheduling a task like in Step 1 and deleting it after running it once. Feel free to try out any changes you like.
|
|
||||||
|
|
||||||
|
Note: You can do step 3 without using the shell (i.e. SSH) by scheduling a task like in Step 1 and deleting it after running it once. Feel free to try out any changes you like.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue