Project

General

Profile

Upgrading Docker Applications » History » Version 1

Jon Goldberg, 11/29/2017 07:38 AM

1 1 Jon Goldberg
# Upgrading Docker Applications
2
3
On the `red` server, we run many applications in Docker.  Here's the general procedure for upgrading them, along with instructions for specific apps..
4
5
## Invoiceninja
6
7
~~~ shell
8
#backup the db
9
mysqldump invoiceninja > in_pre38.sql
10
11
cd docker
12
# This upgades ALL Docker images that need updating (i.e. unless they're using a version-specific tag)
13
sudo docker-compose pull
14
sudo docker-compose up -d --build
15
# If you need to free up some space
16
docker system prune -a
17
~~~
18
* Clear InvoiceNinja's cache!  In the browser load any page with `?clear_cache=true` appended.