-
Notifications
You must be signed in to change notification settings - Fork 0
Docker
kamack38 edited this page Sep 21, 2025
·
4 revisions
Remove any stopped containers, volumes and all unused images
docker system prune -aRemove all unused local volumes. Unused local volumes are those which are not referenced by any containers
docker volume prune -fCreate a new image from a container's changes
docker commit <container>Save one or more images to a tar archive
docker save -o backup.tar <image>Load an image from a tar archive
docker load -i backup.tar