Question Docker 101: Changing image versions

Currently reading
Question Docker 101: Changing image versions

4,027
1,378
NAS
DS4l8play, DS202j, DS3623xs+, DSM 7.3.3-25847
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

• Synology – Dr_Frankenstein's Tech Stuff • Using Docker on Synology NAS Lot of guides in blogs and...
Replies
4
Views
2,600
I can’t find any option to restore just the settings. 1710356648 Phew, managed to fix it. Within the...
Replies
4
Views
390
Good to hear. Deluge has not been updated for almost two years now as an app, nevertheless. But it gives...
Replies
12
Views
960
  • Question
Open an issue on that GitHub page. The developers will be glad to assist. OP has posted two threads on...
Replies
5
Views
963
I'm happy with email notifications but in v0.3.3 of dockcheck the author added apprise notifications...
Replies
4
Views
1,041
I am also trying to setup a Z-wave USB dongle and am getting stuck after following the same steps as...
Replies
1
Views
1,030
How did you create the Portainer container in first place? As in exact docker run commands or in case...
Replies
7
Views
1,240

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Back
Top