How do you stop a Docker container?
Experience Level: Junior
Tags: DockerDocker CLI
Answer
docker stop <container-id>
Related Docker job interview questions
How 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 JuniorHow do you start a Docker container?
DockerDocker CLI JuniorHow do you access a running Docker container?
DockerDocker CLI JuniorHow do you list all the running Docker containers?
DockerDocker CLI Junior