Until you put Python in Docker

The name docker is cool, isn't it?

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

First, remember the word 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

Somehow, it's not running

No, so I'm restarting ...? ?? ??

If you look it up or write it The error character says start it first ...

Try writing docker start pytest and run it

… It looks like it started image.png How the vscode docker extension looks Was it □ until a while ago? It became ▷ __ I want to drink tapioca __

Try running docker exec -it pytest / bin / bash again

It was OK!

Yeah!

Recommended Posts

Until you put Python in Docker
Until you put pyaudio in Mavericks
Until you run the changefinder sample in python
Put Python3 in Docker container of Amazon Linux2
Until you insert data into a spreadsheet in Python
Until you start Jupyter with Docker
Put MeCab in "Windows 10; Python3.5 (64bit)"
Put python, numpy, opencv3 in ubuntu14
Until you start crawling in Scrapy
Until you run python with apache
Until dealing with python in Atom
I put Python 2.7 in Sakura VPS 1GB.
Using venv in Windows + Docker environment [Python]
[Itertools.permutations] How to put permutations in Python
PUT gzip directly to S3 in Python
[FX] Hit oanda-API in Python using Docker
Until you install your own Python library
Until you can use opencv with python
Quadtree in Python --2
Python in optimization
CURL in python
Metaprogramming in Python
Python 3.3 in Anaconda
Geocoding in python
SendKeys in Python
Until a Docker beginner deploys a delusional microservice made in Python to Fargate
Meta-analysis in Python
Unittest in python
Epoch in Python
Discord in Python
Sudoku in Python
DCI in Python
quicksort in python
nCr in python
N-Gram in Python
Programming in python
Plink in Python
Constant in python
python at docker
Lifegame in Python.
FizzBuzz in Python
Sqlite in python
StepAIC in Python
N-gram in python
LINE-Bot [0] in Python
Csv in python
Disassemble in Python
Reflection in Python
Constant in python
nCr in Python.
format in python
Scons in Python3
Until you can step in PyCharm + Django + virtual environment (pyvenv + Python3) (mac)
Puyo Puyo in python
python in virtualenv
PPAP in Python
Quad-tree in Python
Reflection in Python
Chemistry in Python
Hashable in python
DirectLiNGAM in Python