How do you remove all stopped Docker containers, unused networks, dangling images and build caches?
Experience Level: Junior
Tags: DockerDocker CLI
Answer
docker system prune
Related Docker job interview questions
How do you run Docker container in a detached mode?
DockerDocker CLI JuniorWhat is Docker Detached Mode good for and how do you use it?
Docker JuniorHow do you build a Dockerfile?
DockerDocker CLIKubernetes JuniorHow do you delete a Docker image from the local file system?
DockerDocker CLI JuniorHow do you delete a stopped Docker contaienr?
DockerDocker CLI Junior