From 3644b64e83e82e685e3056a69aa06bc901e43e14 Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 14 Aug 2021 12:59:03 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9263e6b..64e2bcd 100644 --- a/README.md +++ b/README.md @@ -417,10 +417,11 @@ ExecStart=/usr/bin/certbot renew --quiet --agree-tos --deploy-hook "docker exec - To build all the containers from a compose file: `docker-compose up -d` - To build the containers from a specific file: `docker-compose -f{file_name.yml} up -d` - You can include environment variables by having a `.env` file in the same directory as your `docker-compose.yml` file (or you can specify it with the `--environment` option) -- To rebuild containers from scratch: `docker-compose up -d --build --force-recreate` +- To rebuild containers from scratch: `docker-compose up -d --build --force-recreate` (this will not remove any data!) - To list all running containers: `docker ps -a` - To remove all containers you have downloaded: `docker system prune -a` - To remove all unused volumes: `docker volume prune` +- To upgrade all images first run `docker-compose pull` followed by `docker-compose up -d --build`. Be careful this usually breaks something. # TODO - [x] Set up docker