I have installed docker toolbox for windows and run hello-world.
I now want to stop it with
docker stop hello-world
But this generate an error :
failed to stop container (hello-world) no such container
When I do docker images hello-world is there
I have installed docker toolbox for windows and run hello-world.
I now want to stop it with
docker stop hello-world
But this generate an error :
failed to stop container (hello-world) no such container
When I do docker images hello-world is there
When I do
docker imageshello-world is there
But when you do a docker ps -a, do you see a container hello-workd running? (or at all?)
docker stop stops a running container, not an image.
hello-world is an image which, when executed as a container, prints hello-world and immediately exit. There is nothing to stop at this point.