Update updating-our-containers.md

pull/1/head
Josh Stark 2019-02-06 19:10:50 +00:00 zatwierdzone przez GitHub
rodzic 953eb4b1dc
commit 4685219b02
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -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: