Remove all unused
To remove all unused data:
The command will give a warning and then deletes all unused data from docker.
#docker #prune #system #docker_system #dangling
docker
data including volumes
, images
, network
, etc in one command:docker system prune [OPTIONS]
To remove all unused data:
docker system prune -a
The command will give a warning and then deletes all unused data from docker.
WARNING! This will remove:
- all stopped containers
- all volumes not used by at least one container
- all networks not used by at least one container
- all images without at least one container associated to them
Are you sure you want to continue? [y/N] y
#docker #prune #system #docker_system #dangling