docker-pm2 icon indicating copy to clipboard operation
docker-pm2 copied to clipboard

oci runtime error: container_linux.go:247

Open spursy opened this issue 6 years ago • 2 comments

**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

spursy avatar Nov 21 '18 03:11 spursy

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

simonepri avatar Nov 25 '18 11:11 simonepri

Hello @spursy

Try it:

sudo docker run -it keymetrics/pm2 ash

Alpine uses ash and not bash.

guiofsaints avatar Dec 17 '18 17:12 guiofsaints