Docker运行 centos6 命令失败,错误: -
docker run docker.io/treasureboat/centos6
" docker: Error response from daemon: No command specified
"
答案 0 :(得分:2)
正如评论中所述,this image未设置CMD
,因此您需要为docker指定要执行的内容:
docker run docker.io/treasureboat/centos6 /bin/bash