Last time tried to put docker in Mac and start it. Now I'm going to put Python in that docker
I examined various things, but
image
.It seems that Python set data is called an image
I proceeded with reference to this time here **Thank you very much! ** **
That's it, was it so easy? Return that searched time!
docker pull python
In my case I didn't have to write sudo
I also didn't need the version of python: 3.6
If you execute it without writing the version, it will be written as lasted without permission
It seems that it will download the latest
I was able to proceed smoothly with reference to this time here, but at the end I did not understand ...
Start container again
that? I can't restart
docker exec -it pytest /bin/bash
When I write this This is said ...
what's this?
Error response from daemon:Container English and numbers are not running
No, so I'm restarting ...? ?? ??
If you look it up or write it
The error character says start it first
...
docker start pytest
and run it… It looks like it started How the vscode docker extension looks Was it □ until a while ago? It became ▷ __ I want to drink tapioca __
docker exec -it pytest / bin / bash
againIt was OK!
Recommended Posts