when calling docker ps the list is empty, although I got an id:
(dcbb6aeaa06ba43fcb.....
)
My steps:
Step 1: I created an image (
imagekommando
) of an running js.file:Step 2: I created a container (in background) based on my image
docker run -d --name containerkommando imagekommando
I got an id! (container-id??)
Step 3: But
docker ps
shows empty list:
But when I repeat Step 2, I'm told, that the container (containerkommando
) already exists:
docker run -d --name containerkommando imagekommando
Could you help me, understanding the logic behind? And how can I get the container running (by ID)?