@@ -216,22 +216,42 @@ Below are the instructions for updating containers:
216
216
* Start the new container: ` docker start letsencrypt `
217
217
* You can also remove the old dangling images: ` docker image prune `
218
218
219
- ### Via Taisun auto-updater (especially useful if you don't remember the original parameters)
220
- * Pull the latest image at its tag and replace it with the same env variables in one shot:
221
- ```
222
- docker run --rm \
223
- -v /var/run/docker.sock:/var/run/docker.sock taisun/updater \
224
- --oneshot letsencrypt
225
- ```
226
- * You can also remove the old dangling images: ` docker image prune `
227
-
228
219
### Via Docker Compose
229
220
* Update all images: ` docker-compose pull `
230
221
* or update a single image: ` docker-compose pull letsencrypt `
231
222
* Let compose update all containers as necessary: ` docker-compose up -d `
232
223
* or update a single container: ` docker-compose up -d letsencrypt `
233
224
* You can also remove the old dangling images: ` docker image prune `
234
225
226
+ ### Via Watchtower auto-updater (especially useful if you don't remember the original parameters)
227
+ * Pull the latest image at its tag and replace it with the same env variables in one run:
228
+ ```
229
+ docker run --rm \
230
+ -v /var/run/docker.sock:/var/run/docker.sock \
231
+ containrrr/watchtower \
232
+ --run-once letsencrypt
233
+ ```
234
+ * You can also remove the old dangling images: ` docker image prune `
235
+
236
+ ## Building locally
237
+
238
+ If you want to make local modifications to these images for development purposes or just to customize the logic:
239
+ ```
240
+ git clone https://github.com/linuxserver/docker-letsencrypt.git
241
+ cd docker-letsencrypt
242
+ docker build \
243
+ --no-cache \
244
+ --pull \
245
+ -t linuxserver/letsencrypt:latest .
246
+ ```
247
+
248
+ The ARM variants can be built on x86_64 hardware using ` multiarch/qemu-user-static `
249
+ ```
250
+ docker run --rm --privileged multiarch/qemu-user-static:register --reset
251
+ ```
252
+
253
+ Once registered you can define the dockerfile to use with ` -f Dockerfile.aarch64 ` .
254
+
235
255
## Versions
236
256
237
257
* ** 30.04.19:** - Add php-redis.
0 commit comments