Container command:
| The command | describe |
|---|---|
| attach | Flows local standard input, output, and errors to the running container |
| build | Build the image from the Dockerfile |
| commit | Create a new image based on changes to the container |
| cp | Copy files/folders between containers and local file systems |
| create | Create a new container |
| diff | Checks for changes to files or directories on the container file system |
| events | Get live events from the server |
| exec | Run commands in a running container |
| export | Export the container’s file system as a tar archive |
| history | Displays the history of the mirror |
| images | List the mirror |
| import | Import content from the TAR archive to create a file system image |
| info | Displays system-wide information |
| inspect | Returns low-level information about Docker objects |
| kill | Kill one or more running containers |
| load | Load the image from the tar archive or STDIN |
| login | Login Docker Hub |
| logout | Exit from Docker Hub |
| logs | Get the container’s logs |
| pause | Suspends all processes in one or more containers |
| port | Lists port mappings or specific mappings for containers |
| ps | List the container |
| pull | Extract the image or repository from the registry |
| push | Push an image or repository to the registry |
| rename | Renaming containers |
| restart | Restart one or more containers |
| rm | Delete one or more containers |
| rmi | Delete one or more mirrors |
| run | Run the command in the new container |
| save | Save one or more images to a tar archive (streaming to STDOUT by default) |
| search | Search for images in the Docker Hub |
| start | Start one or more stopped containers |
| stats | Displays a real-time stream of container resource usage statistics |
| stop | Stop one or more running containers |
| tag | Create a tag TARGET_IMAGE that references SOURCE_IMAGE (source image) |
| top | Displays the running process of the container |
| unpause | Unsuspend all processes in one or more containers |
| update | Update the configuration of one or more containers |
| version | The Docker version information is displayed |
| wait | Block until one or more containers stop, then print out the exit code |
More comprehensive Docker command complete