I tried ctrl + c, ctrl + d, ctrl + qp But, I am still unable to terminate the running Image or get out of the terminal
Asked
Active
Viewed 2,648 times
1 Answers
1
You can only stop containers, but not images. Explained in this question.
To stop the container:
- Get the container id using
docker ps - Stop it using
docker container stop <id>
Eventually you want to kill it using docker kill <id> (kill also like in send a signal)
stena
- 667
- 5
- 19
