# 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
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9