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

  • Learn OpenShift
  • Denis Zuev Artemii Kropachev Aleksey Usov
  • 209字
  • 2021-08-13 16:03:44

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

主站蜘蛛池模板: 邯郸县| 宿迁市| 乌兰县| 明水县| 闸北区| 库伦旗| 荣成市| 岱山县| 宜良县| 宜昌市| 民县| 广饶县| 彰武县| 安顺市| 溧水县| 天峨县| 嘉峪关市| 萨迦县| 大田县| 平山县| 云龙县| 云霄县| 英吉沙县| 湘潭县| 阿坝| 弋阳县| 吴江市| 沅江市| 永宁县| 兴海县| 南京市| 噶尔县| 革吉县| 惠水县| 麦盖提县| 隆林| 平乡县| 隆尧县| 南投市| 搜索| 宁夏|