![]() ![]() Since Docker Compose uses our configuration file to create the container, it’s not easy to do that.įor that reason, it’s almost easier to update the container and fix it (update the Docker Compose file to use an old version) if there’s a problem, rather than preemptively plan for it. When we use Synology’s GUI and duplicate the settings, we are technically creating an entirely new container and keeping our old one as well. Updating a container using Docker Compose is slightly different than running Synology’s GUI. Updating Docker Containers on a Synology NAS Using Docker Compose The container is now setup! If you run into any issues, delete the new container, rename the old one back (by removing -Backup) and you will be fully rolled back to the old version of the Docker container. Give the new container a name (I normally use the old name), select Apply and then the container will install! When you run the new container, you will be using the latest version!ĥ. When the container is renamed, select the container, then select Settings, and then Duplicate Settings. I normally leave it as-is and add -Backup to the name.Ĥ. Stop the old container, Edit it, and rename the container. Make sure you give it a little while to finish the download.ģ. The latest version will overwrite your existing version. Open the registry, search for the container that you’d like to update, and double-click it to download the latest version. My container is currently using v2.5.0.Ģ. I will be displaying how to do this using Nginx Proxy Manager since the version number is directly on the login page. Updating Docker Containers on a Synology NAS Using the Docker Applicationġ. We will look at two different ways to update docker containers on a Synology NAS below. ![]() How to Update Docker Containers on a Synology NAS
0 Comments
Leave a Reply. |