Guest Join UsHey Guest,
Welcome, Join our awesome community where you can discuss on various topics :-
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Some point about your community
Much More.. or Create an Account


I am super Awesome Announcement, with links and can be used to announce important things. Check here
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Update and relaunch all docker containers
#1
First of all, I would like to thank the community for these wonderful containers. It has made my life easier and made my home automation setup so much better. However, I was wondering what the "preferred" way to update the containers was? Currently, I do this for each Docker image

Code:
docker pull mysql
docker stop my-mysql-container
docker rm my-mysql-container
docker run --name=my-mysql-container --restart=always \
 -e MYSQL_ROOT_PASSWORD=mypwd -v /my/data/dir:/var/lib/mysql -d mysql
 But it is a bit tedious. Does anyone have an automated way to do it? Do most people just update the packages inside the containers themselves? ie apt-get upgrade and git pull?
Reply
#2
Glad you like our containers Smile

There are a couple methods already discussed here: https://forum.linuxserver.io/thread-446.html
Main: i5-3570k @ 4.0GHZ | 8GB Ram | 250GB SSD + 1TB HDD | EVGA 780 SC 6GB
Server: HP N54L | 8GB Ram | UnRAID v6.2.4 | 10TB Data [2x3TB+2x2TB] + 3TB Parity
RPi2 Model B 1GB: LibreELEC x2 / Wetek Hub: LibreELEC / DigiBit R1 Sat>IP Receiver

Reply
#3
Thank you, I ended up using watchtower https://github.com/v2tec/watchtower
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

About LinuxServer.io

Focus MyBB Theme is designed for MyBB 1.8 series and is tested properly till the most current version of MyBB i.e. 1.8.9. It is simple, clean and light MyBB theme with use of font-awesome icons and shrinking header.

For any more information, please use our contact form.

              Quick Links

              User Links

              Advertise