Error response from deamon

Hi there,

I am trying to install the docker engine on a Rasbery Pi (using Rasbian OS), but when I run the armhf/hello-world docker image I get the following error

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"-v\": executable file not found in $PATH": unknown.

Steps taken to fix this

  • Uninstalling and then reinstalling docker
  • Installing using a convience script
  • Updating all packages
  • Running as sudo
  • Restarting the service
  • Aaaand rebooting ( :man_facepalming:)

I thought the docker version and docker info would be too long so it is in this gist

Does anyone have any ideas for troubleshooting or fixing the errors.

Let me guess, you command was :
docker run -it --rm armhf/hello-world -v
The argument after the image is the command inside the container image to run. Arguments to docker have to be before the image name. Just remove the ‘-v’ to run the default command and have a glorious “Hello world” displayed :wink:
Then your next command should be :
docker run -it --rm alpine sh -l