Page 2 of 2

Re: Docker Manager 2.0 Now is Released!

Posted: 11 Mar 2024, 18:30
by EgorA
Hi!

Tell me please how can I update image to the new one without container recompiling?
I have created container from downloaded image. Now there is new version of image in repository. I can download it, but how it can be updated?

Re: Docker Manager 2.0 Now is Released!

Posted: 12 Mar 2024, 10:21
by TMzethar
{L_BUTTON_AT}EgorA
Docker Manager does not have any features related to this. Perhaps you can manually backup the container's data and configuration, and then import the data and configuration into the container created from the new version image.

Re: Docker Manager 2.0 Now is Released!

Posted: 13 Mar 2024, 00:24
by topo01
{L_BUTTON_AT}EgorA
If you are using seperate data volumes for your container (e.g. like for Configs and user data) you can do like this:
  • Stop the container
  • Create new container from latest image and same settings like old container with same volumes
  • Start up new container
  • If new container runs ok you can delete the old container

Re: Docker Manager 2.0 Now is Released!

Posted: 13 Mar 2024, 18:10
by TMLyy
TMzethar wrote: 12 Mar 2024, 10:21
grrr

Re: Docker Manager 2.0 Now is Released!

Posted: 18 Apr 2024, 05:42
by Nekle
Hii,

I'm trying to update my docker using the files you provided but everytime I run them, I get "The file is incorrect and cannot be installed".

I was trying to update my `docker-compose.yml` but I'm not able to pull the image "x509 : certificate has expired or is not yet valid".
I tried to follow this : viewtopic.php?t=4243, but didn't seem to have done anything.
After looking online they said that it could be because of the docker version. So this is how i came here trying to update mine...

I've also updated my NAS to the latest version I could find.

TOS version: 4.2.40-2203011626-P1.18
Model: F2-221
Docker version: 17.05.5

Could i have some help ?

Thanks in advance !

Re: Docker Manager 2.0 Now is Released!

Posted: 19 Apr 2024, 20:04
by TMzethar
Nekle wrote: 18 Apr 2024, 05:42
The Docker version is limited by the system kernel version, so TOS4 is no longer able to continue updating Docker versions.
If you want to use the new Docker version, you can consider backing up your data and upgrading to TOS5. The upgrade operation is somewhat complex. If you really need it, you can learn about it here:
viewtopic.php?t=4912

Re: Docker Manager 2.0 Now is Released!

Posted: 29 Apr 2024, 08:18
by eddiemess
{L_BUTTON_AT}eddiemess
eddiemess wrote: 07 Mar 2024, 07:03
TMzethar wrote: 05 Mar 2024, 19:03 Due to unknown reasons, this module was not successfully loaded. Please try restarting Docker.
I've tried that, and reinstalling and rebooting the NAS. Nothing seems to get this working.
FWIW it looks like I had an underlying issue between upgrading from TOS 4 to TOS 5 where my filesystem was limited on disk space (one of the warnings when upgrading to TOS5). I reinstalled a fresh version of TOS 5 and docker works seemlessly now. Thank you.