-1

Error Response from daemon: Docker Container [id] is not running. Hi Team, I want to run my docker container from the docker reload script but getting the following error:-

Error response from daemon: Container b660899a0--- is not running

Please help as soon as possible. I'm stuck since 2-4 days

  • By default, docker container will exit immediately if you do not have any task running on the container – Ashok Nov 19 '20 at 06:39

1 Answers1

0

By default, the docker container will exit immediately if you do not have any task running on the container.

To keep the container running in the background, try to run it with the --detach (or -d) argument.

docker pull my_image
docker run -t -d --name my_app my_image
Ashok
  • 3,190
  • 15
  • 31
  • To bring up the docker container, using the following command:- docker run -itd -p 7191:8181 -p 5151:5005 --net mynet --ip ${IP} --hostname=my-cluster-1 --name=my-cluster-1.. Then I'm facing the issue of not running the container – Vineet Aggarwal Nov 19 '20 at 07:55
  • Is it necessary to use atomix to bring up the docker container for ONOS cluster – Vineet Aggarwal Nov 19 '20 at 07:56