mirror of
https://github.com/Radarr/Radarr.git
synced 2024-10-05 15:47:20 +02:00
Updated Docker (markdown)
parent
e69656590e
commit
cfd9fb1d7c
@ -128,6 +128,15 @@ Modify the variables `images`, `containers` and `services` according to your sys
|
|||||||
With these commands you can do some cleanup of docker images and containers:
|
With these commands you can do some cleanup of docker images and containers:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Remove all stopped containers
|
||||||
|
# Remove all volumes not used by at least one container
|
||||||
|
# Remove all networks not used by at least one container
|
||||||
|
# Remove all dangling images
|
||||||
|
# [https://docs.docker.com/engine/reference/commandline/system_prune/#usage](https://docs.docker.com/engine/reference/commandline/system_prune/#usage)
|
||||||
|
sudo docker system prune
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Remove leftover containers
|
# Remove leftover containers
|
||||||
sudo docker ps -a -f status=exited -q | xargs -r sudo docker rm
|
sudo docker ps -a -f status=exited -q | xargs -r sudo docker rm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user