github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/docs/reference/commandline/container.md (about) 1 2 --- 3 title: "container" 4 description: "The container command description and usage" 5 keywords: "container" 6 --- 7 8 # container 9 10 ```markdown 11 Usage: docker container COMMAND 12 13 Manage containers 14 15 Options: 16 --help Print usage 17 18 Commands: 19 attach Attach to a running container 20 commit Create a new image from a container's changes 21 cp Copy files/folders between a container and the local filesystem 22 create Create a new container 23 diff Inspect changes to files or directories on a container's filesystem 24 exec Run a command in a running container 25 export Export a container's filesystem as a tar archive 26 inspect Display detailed information on one or more containers 27 kill Kill one or more running containers 28 logs Fetch the logs of a container 29 ls List containers 30 pause Pause all processes within one or more containers 31 port List port mappings or a specific mapping for the container 32 prune Remove all stopped containers 33 rename Rename a container 34 restart Restart one or more containers 35 rm Remove one or more containers 36 run Run a command in a new container 37 start Start one or more stopped containers 38 stats Display a live stream of container(s) resource usage statistics 39 stop Stop one or more running containers 40 top Display the running processes of a container 41 unpause Unpause all processes within one or more containers 42 update Update configuration of one or more containers 43 wait Block until one or more containers stop, then print their exit codes 44 45 Run 'docker container COMMAND --help' for more information on a command. 46 47 ``` 48 49 ## Description 50 51 Manage containers. 52