-2

I tried ctrl + c, ctrl + d, ctrl + qp But, I am still unable to terminate the running Image or get out of the terminal

Terminal

parth hirpara
  • 50
  • 1
  • 7

1 Answers1

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