官术网_书友最值得收藏!

Using Docker man, help, info

The Docker daemon listens on unix:///var/run/docker.sock but you can bind Docker to another host/port or a Unix socket. The Docker client (the docker utility) uses the Docker API to interact with the Docker daemon.

The Docker client supports dozens of commands, each with numerous options, so an attempt to list them all would just result in a copy of the CLI reference from the official documentation. Instead, we will provide you with the most useful subsets of commands to get you up and running.

You can always check available man pages for all Docker sub-commands using:

$ man -k docker

You will be able to see a list of man pages for Docker and all the sub-commands available:

$ man docker
$ man docker-info
$ man Dockerfile

Another way to get information regarding a command is to use docker COMMAND --help:

# docker info --help
Usage: docker info
Display system-wide information
--help Print usage

The docker utility allows you to manage container infrastructure. All sub-commands can be grouped as follows:

      

Activity type

Related subcommands

Managing images

search, pull, push, rmi, images, tag, export, import, load, save

Managing containers

run, exec, ps, kill, stop, start

Building custom images

build, commit

Information gathering

info, inspect

主站蜘蛛池模板: 延津县| 曲沃县| 东丽区| 洞口县| 邛崃市| 甘谷县| 墨脱县| 大化| 崇左市| 凌云县| 北碚区| 绥芬河市| 灌云县| 玛多县| 莱芜市| 方山县| 太保市| 仁怀市| 锡林浩特市| 南木林县| 华宁县| 崇明县| 龙岩市| 梅州市| 横山县| 桃园市| 临洮县| 滦平县| 芜湖市| 永兴县| 监利县| 湖州市| 根河市| 宁蒗| 庆城县| 永善县| 辽中县| 和硕县| 秀山| 襄樊市| 漾濞|