Docker Community Forums

Share and learn in the Docker community.

Issue when adding image


(Adnanarab) #1

Hi,

I am creating an redis image. When the creation completes, I try to find it by typing: “docker ps -a” but is not there? When I try and start the created container I get an error as below stating that the id does not exist? Any help would be great. The version of docker used is:

adnan@adnan-H55M-UD2H ~ $ docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.2.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.9.1
Server API version: 1.21
Go version (server): go1.4.3
Git commit (server): a34a1d5
OS/Arch (server): linux/amd64

adnan@adnan-H55M-UD2H ~ $ sudo docker create -p 6139:6139 redis:2.8
[sudo] password for adnan:
d6b1c8054b5a2a239a1fcd4c6f991aef206d1edc1d56dc98550f4a25af270a03
adnan@adnan-H55M-UD2H ~ $ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8c47df4346da e9ae3c220b23b699cb5e6914af806219b028c78d5cf6fed8eeca98ffaa8c9b43 “/bin/bash” 34 hours ago Exited (0) 34 hours ago backstabbing_nobel
2f20992f6ea0 e9ae3c220b23b699cb5e6914af806219b028c78d5cf6fed8eeca98ffaa8c9b43 “/bin/bash” 34 hours ago Exited (0) 34 hours ago condescending_shaw
ce9d569523e9 e9ae3c220b23b699cb5e6914af806219b028c78d5cf6fed8eeca98ffaa8c9b43 “/bin/bash” 34 hours ago Created Adnan
8c884fd313ae example/docker-node-hello:latest “supervisord -n” 34 hours ago Exited (137) 23 hours ago 0.0.0.0:8080->8080/tcp big_sinoussi
a5b3ce6d17e1 e9ae3c220b23b699cb5e6914af806219b028c78d5cf6fed8eeca98ffaa8c9b43 “/bin/bash” 3 weeks ago Exited (0) 3 weeks ago hopeful_turing
977fbfb5957e e9ae3c220b23b699cb5e6914af806219b028c78d5cf6fed8eeca98ffaa8c9b43 “/bin/bash” 3 weeks ago Exited (0) 3 weeks ago labels
9c11eeadaba9 nginx "nginx -g 'daemon of 3 weeks ago Exited (137) 43 hours ago 80/tcp, 443/tcp, 0.0.0.0:8080->8080/tcp berserk_easley
cf930d68683f example/docker-node-hello:latest “supervisord -n” 4 weeks ago Exited (137) 3 weeks ago 0.0.0.0:8181->8181/tcp sleepy_babbage
a546eac65531 nginx "nginx -g 'daemon of 4 weeks ago Exited (137) 3 weeks ago 0.0.0.0:80->80/tcp, 443/tcp focused_babbage
b73105360982 example/docker-node-hello:latest “supervisord -n” 4 weeks ago Exited (137) 4 weeks ago 0.0.0.0:8080->8080/tcp adoring_goldstine
a8c4aeb8cfc2 nginx "nginx -g 'daemon of 4 weeks ago Up 3 minutes 0.0.0.0:80->80/tcp, 443/tcp sleepy_ardinghelli

adnan@adnan-H55M-UD2H ~ $ docker start d6b1c8054b5a2a239a1fcd4c6f991aef206d1edc1d56dc98550f4a25af270a03
Error response from daemon: no such id: d6b1c8054b5a2a239a1fcd4c6f991aef206d1edc1d56dc98550f4a25af270a03
FATA[0000] Error: failed to start one or more containers

Thanks

Adnan