Author:
Docker command line⚓︎
Useful link for understanding Docker concepts:
I. Docker Image⚓︎
Create an image:⚓︎
- Create a Docker file:
- Build a Docker Image with Dockerfile and tag:
Check the images we have:⚓︎
Delete some image:⚓︎
II. Docker Container⚓︎
Create a container based on the image:⚓︎
Display a list of launched containers:⚓︎
Rename an existing container:⚓︎
Pause a running container:⚓︎
**Stop a running container: **⚓︎
(somehow directly deleted the container)
**Restart a running container: **⚓︎
(somehow directly clear the setting of container)
Removes all the stopped containers:⚓︎
Quit and delete the running containers:⚓︎
Remove an existing container:⚓︎
Create a new image from a container’s file changes:⚓︎
The sub-explanation of Docker Compose: What is Docker Compose: Example, Benefits and Basic Commands