sudo docker exec -it  569f05d5f4fc /bin/bash  

提示错误

rpc error: code = 13 desc = invalid header field value "oci runtime error: 
\ exec failed: container_linux.go:247: 
\ starting container process caused \"exec: \\\"/bin/bash\\\": 
\ stat /bin/bash: no such file or directory\"\n"

尝试

sudo docker exec -it  569f05d5f4fc /bin/sh  

or

sudo docker exec -it  569f05d5f4fc bash
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐