docker2singularity icon indicating copy to clipboard operation
docker2singularity copied to clipboard

Error response from daemon: OCI runtime create failed: container_linux.go:370

Open OliiverHu opened this issue 3 years ago • 1 comments

Hi, I was trying to convert a local docker image(xxx.tar) to singularity one, but I got the following error on my linux server. I am new to docker and might make some really basic mistakes since I failed to find any information related to this output. image

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

Any info on how to convert a docker image to singularity image would also be highly appreciated. And if there is any additional information I could provide to help, please just let me know. Thanks.

OliiverHu avatar Jan 08 '21 09:01 OliiverHu

The way that we keep the container started and running is with tail (see https://github.com/singularityhub/docker2singularity/blob/master/docker2singularity.sh#L131), so you can:

  1. ensure tail is installed in your Docker container before conversion
  2. edit the docker2singularity.sh and rebuild the docker2singularity container to use another method to keep the container running
  3. test a different container entirely that has tail.

vsoch avatar Jan 08 '21 10:01 vsoch