Open spursy opened 6 years ago
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
I don't think the bash shell is installed on alpine linux.
Hello @spursy
Try it:
sudo docker run -it keymetrics/pm2 ash
Alpine uses ash and not bash.
Error:
I use the followed command:
my system is : ubuntu 16