Upgrading Docker Applications¶
red server, we run many applications in Docker. Here's the general procedure for upgrading them, along with instructions for specific apps..
#backup the db mysqldump invoiceninja > in_pre38.sql cd docker # This upgades ALL Docker images that need updating (i.e. unless they're using a version-specific tag) sudo docker-compose pull # This updates a single image sudo docker-compose pull invoiceninja sudo docker-compose up -d --build # If you need to free up some space docker system prune -a
- Clear InvoiceNinja's cache by load any page with
- In the
APP_DEBUG=trueand bounce the image.