I cant connect to my running container with portainer.
I tried already executing docker exec -it <CONTAINER-ID> /bin/bash
. Also changed the shell path many times (/bin/sh, /usr/bin/sh, bash). Every time I get message:
OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory": unknown
Container was created with command:
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Can you tell me why I can't connect to this container only? Portainer web interface is working fine... I thought each container had access to shell, and basic tools such as ls
/bin/bash
then you can not start it withdocker exec