How to update a Docker container

Docker How to update a Docker container

Currently reading
Docker How to update a Docker container

363
94
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS

Telos

Subscriber
1,858
621
NAS
DS418play, DS213j, DS3622+, DSM 7.1.4-11091
1. How do you determine the version number of the existing container? Is there a command to enter in the Container's terminal window?

2. Does it make sense to delete the existing image prior to downloading the update (as the Docker interface gives no clue as to its activity when downloading to an existing image).
 

Rusty

Moderator
NAS Support
4,378
1,269
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
1. How do you determine the version number of the existing container? Is there a command to enter in the Container's terminal window?

2. Does it make sense to delete the existing image prior to downloading the update (as the Docker interface gives no clue as to its activity when downloading to an existing image).
You could try Portainer.io for all your docker needs
 
363
94
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
I update my containers once a month maybe and I don't delete any image before updating. I just follow the procedure.

Yes, you can see versions, but like Rusty said, maybe Portainer.io can help.


Demo: Portainer

U: admin
P: tryportainer
 
363
94
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
Actually, I just tried that demo to pull the bitwardenrs/server image but does not show verisons.

Maybe Watchtower can help: Docker Hub
 
1
1
NAS
Synology DS1815+
Operating system
  1. Windows
Mobile operating system
  1. Android
FYI, Docker changed the Action menu. Clear is now Reset (tested with jlesage/crashplan-pro).
 
154
29
NAS
DS918+, DS414j
Operating system
  1. Linux
  2. Windows
  3. other
Mobile operating system
  1. Android
Watchtower automatically updates containers.
DIUN may be a better option
Code:
https://hub.docker.com/r/crazymax/diun
That will let you know when a container has an update so you can update it when it's convenient for you.
 
Watchtower automatically updates containers.
DIUN may be a better option
Code:
https://hub.docker.com/r/crazymax/diun
That will let you know when a container has an update so you can update it when it's convenient for you.
Well, there is the --monitor-only option on Watchtower, then it will pull but not update your container.
 
157
42
NAS
DS918+ (8GB RAM, 4x WD RED 4TB SHR) ; EATON Ellipse PRO 1200FR
Operating system
  1. Windows
Mobile operating system
  1. Android
Well, there is the --monitor-only option on Watchtower, then it will pull but not update your container.
Diun will not even pull, it will only notify that a new image is available
 

fredbert

Moderator
NAS Support
Subscriber
2,869
1,150
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Last edited:
Let's start a new thread on this to discuss other methods for updating.

The original resource is focused solely on Synology's Docker package and the the new post by @kadiir is to highlight the change of name from 'Clear' to Reset' in the UI. Let's not lose that information.

Docker in DSM 6​
Docker in DSM 7​
1625559665779.png
1625559751113.png
1625559905992.png
1625559935597.png
 

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

SynoMan submitted a new resource: NextCloud on Synology NAS using Docker compose (with Portainer) - The...
Replies
0
Views
122
ISP has scheduled backbone work from 5-8 pm CEST time today with periodic service interrupts. Should be up...
Replies
2
Views
223
Rusty submitted a new resource: Portainer - Docker container managment made easy - Learn how to configure...
Replies
0
Views
281
Hi All, after some struggle I could have the paperless-ng working directly from docker portainer on DSM...
Replies
2
Views
1,467
I'll delete everything I can containers/images/etc, and start fresh over the weekend. While I really like...
Replies
48
Views
1,958

Welcome to SynoForum.com!

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

Registration is free, easy and fast!

Trending threads

Top