Question Docker 101: Changing image versions

4,289
1,469
NAS
DS4l8play, DS202j, DS3623xs+, DSM 8.025847-𝘣𝘦𝘵𝘢
Most of the Docker images I use are from the "latest" category. If I wanted to test the "beta" image, or a specific release, a new container is created.

Being lazy, I don't want to re-enter my paths, environmental variables, etc.

What's the best way to do this? Poking around Synology's Docker GUI I'm guessing I could export the settings from the "latest" container, and then import those settings into the "beta" container. Would that work?

Or would I simply stop the "lastest" container... and rename it from "something" to "something-latest-save"... and then rename the "beta" container from "something-beta" to "something"? If I did that would the new "something" container inherit the settings from the original "something" container?

I hope I've made this clear. Basically I'd like to try out a beta (or develop) image, with the ability to revert to the lasted image... with the minimum of fuss and effort.
 
I tested this out recently for a response at the dark side.

Basically, download the image you want (and make sure you volume data is on NAS folders):
  1. Export the config
  2. Edit the config and change the image from ':latest' to something else.
  3. Create a new container by importing the config.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

There must be already be some sort of dependency, as the deluge service joins the network namespace of the...
Replies
6
Views
593
Ok got this running.. But how do I specify the custom_user/password settings in the yaml-file? EDIT...
Replies
7
Views
860
For the heck of it, I just checked again in docker container, and it announced an update was available. I...
Replies
4
Views
1,013
  • Question
Do realize, that enabling any user to run docker containers is largely the same as giving that user full...
Replies
6
Views
1,603
Hello, I already have it configured perfectly with wireguard. I was looking at the Gluetun configuration...
Replies
4
Views
1,567
Thanks... I tried something similar with rsync. The docker volume lived in...
Replies
7
Views
1,746

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top