[root@Tang ~]# docker container help
Usage: docker container COMMAND
Manage containers
Commands:
attach Attach local standard input, output, and error streams to a running container
commit Create a newimagefrom a container's changes
cp Copy files/folders between a container and the local filesystem
create Create a newcontainer
diff Inspect changes to files or directories on a container's filesystem
exec Run a command in a running container
export Export a container's filesystem as a tar archive
inspect Display detailed information on one or more containers
kill Kill one or more running containers
logs Fetch the logs of a container
ls List containers
pause Pause all processes within one or more containers
port List port mappings or a specific mapping for the container
prune Remove all stopped containers
rename Rename a container
restart Restart one or more containers
rm Remove one or more containers
run Run a command in a newcontainer
start Start one or more stopped containers
stats Display a live stream ofcontainer(s) resource usage statistics
stop Stop one or more running containers
top Display the running processes of a container
unpause Unpause all processes within one or more containers
update Update configuration of one or more containers
wait Block until one or more containers stop, then print their exit codes
1.2 子命令帮助
[root@Tang ~]# docker container run --help
[root@Tang ~]# docker container ls --help
......
2、Docker Container Run 启动容器
2.1 Command Help & Usage
[root@Tang ~]# docker container run --help
Usage: docker container run [OPTIONS]IMAGE[COMMAND][ARG...]
Run a command in a newcontainer
Options:--add-host list Add a custom host-to-IPmapping(host:ip)-a,--attach list Attach to STDIN,STDOUT or STDERR--blkio-weight uint16 Block IO(relative weight), between 10 and 1000, or 0 to disable(default0)--blkio-weight-device list Block IOweight(relative device weight)(default[])--cap-add list Add Linux capabilities
......