Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OliiverHu opened this issue Jan 8, 2021 · 1 comment

Comments

@OliiverHu
Copy link

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.

@vsoch
Copy link
Member

vsoch commented Jan 8, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants