How do you delete a Docker image from the local file system?
Experience Level: Junior
Tags: DockerDocker CLI
Answer
docker rmi <image-id>
Related Docker job interview questions
How do you remove all stopped Docker containers, unused networks, dangling images and build caches?
DockerDocker CLI JuniorHow do you build a Dockerfile?
DockerDocker CLIKubernetes JuniorHow do you delete a stopped Docker contaienr?
DockerDocker CLI JuniorHow do you save a Docker container to Docker Hub?
DockerDocker CLI JuniorHow do you create a new Docker image for an existing container including all changes done to the container?
DockerDocker CLI Junior