@@ -216,22 +216,42 @@ Below are the instructions for updating containers:
216216* Start the new container: ` docker start letsencrypt `
217217* You can also remove the old dangling images: ` docker image prune `
218218
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-
228219### Via Docker Compose
229220* Update all images: ` docker-compose pull `
230221 * or update a single image: ` docker-compose pull letsencrypt `
231222* Let compose update all containers as necessary: ` docker-compose up -d `
232223 * or update a single container: ` docker-compose up -d letsencrypt `
233224* You can also remove the old dangling images: ` docker image prune `
234225
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+
235255## Versions
236256
237257* ** 30.04.19:** - Add php-redis.
0 commit comments