[Summary of technical books] Summary of reading "Learn Docker from the basics"

Impressions read

I thought it would be nice to keep it compact. You may study in other books and then read in retrospect.

Memorandum of only the commands you are interested in

docker pull [Image name]  #Get an image
docker run -d -p [Host side port]:[Container side port][Tag name]
docker ps -a    #View the status of the container
docker stop [Container ID]

--Persistent data

docker run -d -has -p 8081:80 -v $(PWD)/htdocs:/usr/local/apache2/htdocs/httpd

--Log in to the container

docker exec -it container ID/bin/bash

--docker-compose container startup

docker-compose up -d
docker-compose ps -a

Recommended Posts

[Summary of technical books] Summary of reading "Learn Docker from the basics"
[Challenge CircleCI from 0] Learn the basics of CircleCI
[Summary of technical books] Summary of reading "Introduction to Docker / Kubernetes Practical Container Development"
Docker monitoring-explaining the basics of basics-
Understand the basics of docker
[Ruby] Summary of class definitions. Master the basics.
Volume 3 types of Docker Compose considered from the purpose
The basics of Swift's TableView
Summary of Java language basics
About the basics of Android development
The basics of SpringBoot + MyBatis + MySQL
Summary about the introduction of Device
[Beginner] What is Docker in the first place? Easy-to-understand explanation from the basics!
Investigate the replacement from Docker to Podman.
Language summary to learn from now on
Now, I've summarized the basics of RecyclerView
Summary of Docker understanding by beginners ② ~ docker-compose ~
[Challenge Docker from 0] Overview and terms of Docker
The story of RxJava suffering from NoSuchElementException
[day: 5] I summarized the basics of Java
Ruby from the perspective of other languages
Find the difference from a multiple of 10
Learn while making a WEB server Introduction to WEB application development from the basics
Enter from docker-compose up for the time being, and learn Docker while learning the basic design of Web server (Nginx) ①