mirror of
https://github.com/linuxserver/docker-documentation.git
synced 2026-02-19 18:14:15 +08:00
Update updating-our-containers.md
This commit is contained in:
parent
cccc16ab06
commit
6b8645f45d
@ -58,12 +58,10 @@ docker-compose up -d <container_name>
|
||||
Or, to update all containers at once:
|
||||
|
||||
```bash
|
||||
docker-compose pull --parallel
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
{% hint style="info" %} The `--parallel` flag will pull down all available images in multiple threads, rather than one at a time.{% endhint %}
|
||||
|
||||
## Removing old images
|
||||
|
||||
Whenever a Docker image is updated, a fresh version of that image gets downloaded and stored on your host machine. Doing this, however, does not remove the _old_ version of the image. Eventually you will end up with a lot of disk space used up by stale images. You can `prune` old images from your system, which will free up space:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user