How do you delete a stopped Docker contaienr?
Experience Level: Junior
Tags: DockerDocker CLI
Answer
docker rm <container-id>
Related Docker job interview questions
How do you build a Dockerfile?
DockerDocker CLIKubernetes JuniorHow do you delete a Docker image from the local file system?
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 JuniorHow do you kill a Docker container?
DockerDocker CLI Junior