docker --helpmi帮助说明



Usage:  docker COMMAND

用途:docker指令



A self-sufficient runtime(运行时) for containers

一个容器自动运行所需



Options:

      --config string Location of client config files (default "/home/docker/.docker")

客户端配置文件位置(默认 "/home/docker/.docker")

       -D, --debug         Enable debug mode(启用调试)

      --help  Print usage
      -H, --host list Daemon socket(s) to connect to(socket链接进程守护)

      -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")

设置日志级别(“debug”|“info”|“warn”|“error”|“fatal”)(默认为“info”)

      --tls  Use TLS; implied by --tlsverify
      --tlscacert string Trust certs signed only by this CA (default "/home/docker/.docker/ca.pem")ca证书远程用
      --tlscert string Path to TLS certificate file (default "/home/docker/.docker/cert.pem")私钥远程用
      --tlskey string Path to TLS key file (default "/home/docker/.docker/key.pem")公钥远程用
      --tlsverify Use TLS and verify the remote远程链接验证
      -v, --version Print version information and quit(打印版本信息并退出)


Management Commands:
  container   Manage containers(管理容器)
  image       Manage images(管理镜像)
  network     Manage networks(联网管理)

  node        Manage Swarm nodes(管理集群节点)

  plugin      Manage plugins插件管理
  secret      Manage Docker secrets(docker秘钥管理)
  service     Manage services(服务管理)
  stack       Manage Docker stacks(docker堆载管理)
  swarm       Manage Swarm
  system      Manage Docker
  volume      Manage volumes(空间管理)


Commands:

将本地标准输入,输出和错误流附加到正在运行的容器

 attach

 build

构建docker文件镜像

commit

创建一个镜像修改容器

 cp

在容器和本地复制文件和文件夹

 create

创建一个容器

 diff

检查容器系统上文件是否发生改变

 events

重服务器获取实时推送

 exec

在容器中运行命令

 export

将容器的文件系统导出为tar存档

 history

显示镜像的历史变革

 images

列出所有镜像文件

 import

从 tarball导入文件内容到创建一个系统镜像文件

 info

查看信息

 inspect

返回底层信息的docker对象

 kill

终止一个或多个正在运行的容器

 load

加载图像到一个tar归档文件或STDIN

 login

登陆某个docker之中

 logout

退出某个docker

 logs

获取容器运行的日志

 pause

暂停一个或多个容器进程

 port

查看所有映射信息

 ps

查看所有正在运行的容器

 pull

拉取一个镜像或者仓库到本地

 push

Push an image or a repository to a registry

rename

Rename a container

 restart

Restart one or more containers

 rm

Remove one or more containers

 rmi

Remove one or more images

 run

Run a command in a new container

 save

Save one or more images to a tar archive (streamed to STDOUT by default)

 search

Search the Docker Hub for images

 start

Start one or more stopped containers

 stats

Display a live stream of container(s) resource usage statistics

 stop

Stop one or more running containers

 tag

Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

 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

 version

Show the Docker version information

 wait

Block until one or more containers stop, then print their exit codes

                 



Run 'docker COMMAND --help' for more information on a command.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值