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

oci runtime error: container_linux.go:247 #61

Open
spursy opened this issue Nov 21, 2018 · 2 comments
Open

oci runtime error: container_linux.go:247 #61

spursy opened this issue Nov 21, 2018 · 2 comments

Comments

@spursy
Copy link

spursy commented Nov 21, 2018

**Error: **

ubuntu@ip-172-18-16-104:~$ sudo docker run -it keymetrics/pm2 /bin/bash
Unable to find image 'keymetrics/pm2:latest' locally
latest: Pulling from keymetrics/pm2
1160f4abea84: Pull complete
3ec5cae38735: Pull complete
8936ea0e8ba7: Pull complete
bb97665bd848: Pull complete
Digest: sha256:ebc9a08b9f6181ac876ac9153523911eac163177cb2e379950282118af4273c0
Status: Downloaded newer image for keymetrics/pm2:latest
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory".

I use the followed command:

sudo docker run -it keymetrics/pm2 /bin/bash

my system is : ubuntu 16

@simonepri
Copy link

I don't think the bash shell is installed on alpine linux.

@guiofsaints
Copy link

guiofsaints commented Dec 17, 2018

Hello @spursy

Try it:

sudo docker run -it keymetrics/pm2 ash

Alpine uses ash and not bash.

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

3 participants