Use the Docker command line (Engine)
Use the Docker command line
To list available commands, either run docker
with no parameters or execute docker help
:
$ docker Usage: docker [OPTIONS] COMMAND [arg...] docker daemon [ --help | ... ] docker [ --help | -v | --version ] -H, --host=[]: The socket(s) to talk to the Docker daemon in the format of tcp://host:port/path, unix:///path/to/socket, fd://* or fd://socketfd. A self-sufficient runtime for Linux containers. ...
Depending on your Docker system configuration, you may be required to preface each docker
command with sudo
. To avoid having to use sudo
with the docker
command, your system administrator can create a Unix group called docker
and add users to it.
For more information about installing Docker or sudo
configuration, refer to the 登录查看完整内容