I participated in the day trip development training camp (Fat Can), which is held regularly at our company, for the first time in a long time. Recently, I've been busy with music activities (I like bad sideways), and it's been a while since I've been developing on holidays.
I struggled to build a Django environment using Docker, but with Dockerfile I was confused by the difference in docker-compose.yml, and I tried to force Pyenv into it. It's a disappointing result. It seems that he understands Docker, but in fact he understood it only shallowly. The final step is to build a Django environment directly in the EC2 environment while reflecting on myself.
Where is the guy who became full-fledged without being beaten! (Bright Noa)
From here, I will write something like my memorandum that I re-studied about Docker.
Obviously, Docker has a different principle and idea from Virtual Machine, and The technology used is also very different. Compared to containers that share memory and storage as well as the kernel of the host OS Each VM is a separate (virtually) exclusive image. The container is a share house with shared kitchen, bath and toilet, and the VM is in one room of the apartment. The kitchen, bath, and toilet are like individual.
It's different from Zaku, what is Zaku! (Ramba Ral)
The network of both containers is the NameSpace and virtual of the Linux OS kernel. It can be realized by the function of NIC and virtual adapter (router). It is very flexible that the word virtual can be freely added / changed / deleted at the point. Bull and great. I misunderstood that communication between containers is a function of Docker (sweat).
Because I'm a little boy (Char Aznable)
It would be convenient to stop unnecessary containers and clone images from git to start necessary containers. Thanks to the NameSpace mentioned above, I am very grateful that it does not pollute other areas.
I've never been so happy (Amuro Ray)
I ended up with a fat can who spent most of his time studying Docker.
I'm different from the one I used to be (Kai Shiden)
Next time, let's master Docker as we like and build a Django environment!
I learned a lot. -Introduction to Docker, the most understandable container in the world -Introduction to Docker
Recommended Posts