Commit acc600
2025-09-03 14:21:23 admin: added original dokuwiki page| /dev/null .. mise à jours.md | |
| @@ 0,0 1,56 @@ | |
| + | # Mise à jours |
| + | |
| + | |
| + | There is several ways to to it. |
| + | |
| + | > [!WARNING] |
| + | > Beware of new versions which require some special actions... |
| + | |
| + | ## Manually |
| + | |
| + | Go into the right directory then: |
| + | |
| + | - Drop the containers |
| + | |
| + | ```bash |
| + | docker compose down |
| + | ``` |
| + | |
| + | - List images |
| + | |
| + | ```shell |
| + | docker image ls |
| + | ``` |
| + | |
| + | - Delete corresponding images |
| + | |
| + | ```bash |
| + | docker rmi xxxxxxxxxx #setting the image id |
| + | ``` |
| + | |
| + | - restart the containers |
| + | |
| + | ```bash |
| + | docker compose up -d |
| + | ``` |
| + | |
| + | ## check pull |
| + | |
| + | Pull the images and if it is recalculated, indicating a new image (or |
| + | layer), and recreate the corresponding containers Go into the right |
| + | directory then: |
| + | |
| + | - Pull images |
| + | |
| + | ```bash |
| + | docker compose pull |
| + | ``` |
| + | |
| + | If a image is recreated (upload and all...) |
| + | |
| + | - Recreate containers |
| + | |
| + | ```bash |
| + | docker compose up -d --force-recreate |
| + | ``` |
| + | it will restart the container aver recreating them |