docker tutorial (memo)

Let's pull docker image from docker hub

Get command docker image pull

Delete docker image rm

Generate / move docker container run

Generation only docker container create

Start only

docker container start

Stop docker container stop

Delete docker container rm

The first point to stumble here is if the image cannot be deleted or the container cannot be deleted. Forcibly delete with -f or version of image container such as OS (name: xx.x) Please check if there is any input omission.

Start the OS as a container (← It's annoying and will become mainstream in the future, right?) docker run -it os name (tag)

docker basic command collection

command Explanation
docker run Start / create a container
docker start Start an existing container
docker stop Stop container
docker kill Kill container
docker ps List containers
docker rm Delete container
docker attach Connect to standard container I / O
docker exec Execute command in a running container
docker pull Download the image from docker hub
docker push Upload to docker hub
docker image List images

Recommended Posts

docker tutorial (memo)
Docker operation memo
Docker command memo
[Memo] docker summary
Docker x Rails 6 (memo)
docker inspect --format memo
Docker Machine command memo
MySQL 5.7 (Docker) environment construction memo
I tried the Docker tutorial!
Redmine (Docker) environment construction memo
npm error in docker tutorial
Installing and building Docker (memo)
Truffle Tutorial Slides Personal translation memo ①
Docker execution memo summarized for myself
Rails Tutorial (4th Edition) Memo Chapter 6
Integer memo
kubernetes + docker
spring × docker
About Docker
rails tutorial
Lombok memo
Docker Intellij
Dockerfile memo
Iterator memo
Docker basics
corretto memo
rails tutorial
Java memo
AWS memo
rails tutorial
rails tutorial
Docker installation
raila tutorial
About Docker
Docker command
Chef tutorial
[Folio Tutorial] Single Server Deployment Docker Configuration
Docker memorandum
Understand Docker
rails tutorial
Docker memorandum
rails tutorial
Dcokerfile memo
Install Docker with WSL2 Memo ([Part 2] Docker introduction)
rails tutorial
Ruby memo
[Introduction to Docker] Official Tutorial (Japanese translation)
Memo Stream
[Memo] Create a CentOS 8 environment easily with Docker
Environment construction command memo with Docker on AWS
Official tutorial to learn Docker systematically Japanese translation
Docker + Java + SpringBoot WEB development hands-on attendance memo (2019/08/19)