Docker run centos6命令失败

时间:2016-11-25 10:05:21

标签: docker

Docker运行 centos6 命令失败,错误: -

docker run docker.io/treasureboat/centos6

" docker: Error response from daemon: No command specified"

1 个答案:

答案 0 :(得分:2)

正如评论中所述,this image未设置CMD,因此您需要为docker指定要执行的内容:

docker run docker.io/treasureboat/centos6 /bin/bash