Vijay S B
Vijay S B

Reputation: 1315

Docker run centos6 command fails

Docker run centos6 command fails with error :-

docker run docker.io/treasureboat/centos6

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

Upvotes: 0

Views: 286

Answers (1)

jaxxstorm
jaxxstorm

Reputation: 13251

As mentioned in the comments, this image doesn't set a CMD, so you need to specify something for docker to execute:

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

Upvotes: 3

Related Questions