@@ -162,8 +162,19 @@ services:
162
162
163
163
## Docker Image Update
164
164
165
- If the system on which the container runs doesn't provide a way to easily update
166
- the Docker image, the following steps can be followed:
165
+ Because features are added, issues are fixed, or simply because a new version
166
+ of the containerized application is integrated, the Docker image is regularly
167
+ updated. Different methods can be used to update the Docker image.
168
+
169
+ The system used to run the container may have a built-in way to update
170
+ containers. If so, this could be your primary way to update Docker images.
171
+
172
+ An other way is to have the image be automatically updated with [Watchtower].
173
+ Whatchtower is a container-based solution for automating Docker image updates.
174
+ This is a "set and forget" type of solution: once a new image is available,
175
+ Watchtower will seamlessly perform the necessary steps to update the container.
176
+
177
+ Finally, the Docker image can be manually updated with these steps:
167
178
168
179
1. Fetch the latest image:
169
180
` ` `
@@ -177,7 +188,10 @@ docker stop nginx-proxy-manager
177
188
```
178
189
docker rm nginx-proxy-manager
179
190
```
180
- 4 . Start the container using the ` docker run ` command.
191
+ 4 . Create and start the container using the ` docker run ` command, with the
192
+ the same parameters that were used when it was deployed initially.
193
+
194
+ [ Watchtower ] : https://github.com/containrrr/watchtower
181
195
182
196
### Synology
183
197
0 commit comments