Docker进入registry容器报错

创建registry容器之后,无法进入,报错

[root@localhost registry]# docker exec -it registry bash
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bash": executable file not found in $PATH: unknown

 

查阅资料:

该镜像是使用alpine制作的,要进入该容器需要输入

docker exec -it 容器名 /bin/sh

posted on 2021-10-23 15:10  笑洋仟  阅读(303)  评论(0编辑  收藏  举报

levels of contents