DockerCommand
Clean Up Unused Docker Data
Type this command
docker system pruneRemoves stopped containers, unused networks, dangling images and build cache.
The Docker command to clean up unused docker data is docker system prune.
docker system prunedocker system pruneRemoves stopped containers, unused networks, dangling images and build cache.
Run docker system prune.
Run docker system prune.
Type it in the terminal or command-line interface used by Docker.
Yes. The command text is the same on both platforms when the tool is installed.