docker2singularity
docker2singularity copied to clipboard
Error response from daemon: OCI runtime create failed: container_linux.go:370
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.
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.
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:
- ensure tail is installed in your Docker container before conversion
- edit the docker2singularity.sh and rebuild the docker2singularity container to use another method to keep the container running
- test a different container entirely that has tail.