CoderMan
CoderMan

Reputation: 182

Error response from daemon when starting a docker container

When I type docker start projects I get this error:

Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\"/bin/bash”\\": stat /bin/bash”: no such file or directory\"\n" Error: failed to start containers: projects

What should I do so I can start my docker containers?

Upvotes: 6

Views: 10961

Answers (1)

Manoj Sahu
Manoj Sahu

Reputation: 2942

There are two possible errors

  1. The file or directory you are mapping is invalid
  2. The base image you are using do not have /bin/bash

and try to start a new container instead of old one from docker run projects

Upvotes: 3

Related Questions