Docker compose maintenance

cd into the docker compose folder, then

docker compose down
docker compose pull
docker image prune
docker compose up -d

If you want to check the status of a VPN connection inside a container, for example qbittorrent, use:

docker exec -it qbittorrent bash
wget -qO- https://ipinfo.io

Then, check the output and exit.

If you want to check the docker images present in the system, use:

docker images -a

If you want to filter the dangling images, use:

docker images --filter "dangling=true"

If you want to manually delete an image, use:

docker rmi [IMAGE ID]

If you want to check how much space the images are using:

cd /var/lib/docker
du -h --max-depth=1

The folder overlay2 should be the heavy one and should contain the images.


Posted

in

by

Tags:

WordPress Appliance - Powered by TurnKey Linux