1. Summary: In general, they can be divided into the following categories: Docker environment information — docker [info|version] The meaning of common commands: 1 Introduction to docker commands docker --help Management commands: Order: 2. Image related 1. Pull the image docker pull 2. View the image docker images 3. Delete the image docker rmi Common parameters: 4. Create an image (1) Re-establish a new image after changing the source image docker commit Common parameters: (2) Use Dockerfile to build an image docker build Common parameters: 3. Container related 1. Run the container docker run Common parameters: The containers created by docker create and docker run -it are interactive containers. 2. View the running container docker ps Common parameters: 3. Stop the container docker stop //The method is gentle and stops the container slowly. docker kill //The method is simple and rough and stops the container immediately. 4. Delete the container docker rm Common parameters: 5. View container logs docker logs Common parameters: 6. View container process docker top 7. View container configuration information docker inspect Common parameters: 8. Enter the container (1) Entering the interactive container docker attack Common parameters: (2) Entering the background container docker exec Common parameters: Dockerfile This is the end of this article about the summary of commonly used docker commands (recommended). For more related commonly used docker commands, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: How to optimize MySQL group by statement
>>: JavaScript to implement a simple shopping form
Preface This article mainly introduces the releva...
All prerequisites require root permissions 1. End...
1. Introduction to Docker 1.1 Virtualization 1.1....
In this article, we will use the libudev library ...
Table of contents 1. Install Docker 2. Write code...
Environment configuration 1: Install MySQL and ad...
Version 1.4.2 Official Documentation dockerhub st...
Join query A join query refers to a matching quer...
Keepalived installation: cd <keepalived_source...
Today, because I wanted to install MySQL, I went ...
If you want the path following the domain name to...
Today, when verifying the concurrency problem of ...
Original address: http://www.webdesignfromscratch...
Table of contents 1. Introduction 2. Output Infor...
First look at the effect: When the mouse moves ov...