Docker Community Forums

Share and learn in the Docker community.

Docker Run -it [Image] Broken


(Taye) #1

Im having an issue running some images(alpine and lexaguskov/freebsd), the error that I’m getting is: docker run -it alpine
docker: Error response from daemon: No command specified.
See ‘docker run --help’

Here is the version info:
Client:
Version: 1.10.3
API version: 1.22
Go version: go1.5.3
Git commit: 20f81dd
Built: Thu Mar 10 15:54:52 2016
OS/Arch: linux/amd64

Server:
Version: 1.10.3
API version: 1.22
Go version: go1.5.3
Git commit: 20f81dd
Built: Thu Mar 10 15:54:52 2016
OS/Arch: linux/amd64


(Nathan Le Claire) #2

Like the error message said, you didn’t specify a command to run when invoking the container.

$ docker run -ti alpine sh

Will invoke a shell.


(Taye) #3

I didn’t know you could tell the container what to run!
Thank you!
~newb