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
Reference Documentation Official Docker installat...
VMware tools provides great convenience for using...
In projects, batch operation statements are often...
The knowledge points summarized below are all fre...
Today I have a question about configuring MySQL d...
Open the scheduled task editor. Cent uses vim to ...
First, what is box collapse? Elements that should...
Table of contents Current Issues Solution process...
Install mysql5.7.18 on CentOS6.7 1. Unzip to the ...
Text truncation with CSS Consider the following c...
Overview This article is a script for automatical...
Table of contents Preface Prepare Implementation ...
Preface: Docker is an open source application con...
1 Download and prepare First, we need to download...
This article uses examples to illustrate the prin...