I've create an Ubuntu container in docker (on windows 10) like the following:
> docker run --name omuntu -it ubuntu
After that, I installed some packages in that named container such as python. Then, exited from the container by exit
command. Now, the question is How can I start the named container again, some how run commands inside its bash and access to my previous installed packages?
I should have mentioned that docker start omuntu
just run the service and I get the following on docker ps
:
CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS NAMES
932a2859c1ca ubuntu "/bin/bash" 36 minutes ago Up 3 seconds
omuntu
But I cannot run the command such as I've ran for the first time, as an instance , this command:
root@932a2859c1ca:/# python -V