With the arrival of the new DSM 7.2 operating system, Synology has revamped Docker by renaming it Container Manager. One of the more prominent new features of this update is the ease with which containers that you have previously installed, and that use the :latest or :nightly tag, can be updated with a single click. Container Manager not only comes with the option to update images, but also has an automatic notification system that informs you in real time whether an update is available or not. In the guide below I will explain how to automatically update your Docker images in a few simple steps.
Open Container Manager. When you click on Overview in the left sidebar area, you will see, in Real Time, if you have any image updates available for your Docker containers. Click Details. Follow the instructions in the image below.
After you click Details, you will see all the images that have an update available with the Update available text alongside them. In the example below, I decided to update the Pi-Hole image. Click on the Update available text. Follow the instructions in the image below.
🔥Troubleshooting: If you don’t see the Update available button, this means that you have accessed the NAS only recently. You have to wait almost 12 hours before you can see the Update available button. Container Manager, once launched, needs at least 12 hours to see whether or not there are new images to update.
Click the Update button. Follow the instructions in the image below.
After you click Update at STEP 5, a new pop up warning message will show up. Click on the Update button to start the update process. Follow the instructions in the image below.
The update process will start. Wait until it is finished. Follow the instructions in the image below.
Once the update is finished, the Update available text next to the image will disappear.
Note: If you have other images to update, follow the exact same procedure described above.
In case you have created a Project using the built-in Docker Compose in Container Manager, you can easily update it (every image attached to the compose) using the following instructions.
Open Container Manager. On the left sidebar click Project. Right mouse click on the Project (Docker compose) you want to update, then click Stop. Follow the instructions in the image below.
Click Close to close the terminal once the Project is stopped. A red bullet will appear in front of the Project name. Follow the instructions in the image below.
Right mouse click on your stopped Project, then click Build. Follow the instructions in the image below.
Wait a few minutes for the update. The duration of the update will depend on your Internet speed connection. Click Close to close the terminal. As you can see, the Project is now marked with a green bullet in front. It means it’s started and all the images attached to this Project are now updated.
This post was updated on Sunday / June 11th, 2023 at 2:13 PM