Skip to content

After importing an image, run gives "no command specified" #1826

@bjohnson1005

Description

@bjohnson1005

After importing an image into docker on an AWS instance, I try to create a container with the run command, but get "no command specified. The same exact run command works with the image on another AWS instance before I export it. The output is shown below:

ubuntu@ip-10-171-57-34:$ cat coop-20130908.tar | sudo docker import - "tsg/cooperative"
2013/09/08 16:33:56 POST /v1.4/images/create?fromSrc=-&repo=tsg%2Fcooperative&tag=
9e83e8314572
ubuntu@ip-10-171-57-34:
$ sudo docker run -d -p 24622:24622 -p 35146:35146 -p 50351:50351 -p 62250:62250 -p 8888:8888 -p 46246:46246 -p 22503:22503 "tsg/cooperative"
2013/09/08 16:34:57 POST /v1.4/containers/create
2013/09/08 16:34:57 Error: No command specified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions