美文网首页
Docker教程:3 docker命令帮助

Docker教程:3 docker命令帮助

作者: 海涛666 | 来源:发表于2016-09-22 16:48 被阅读0次

查看docker命令

[roo@localhost ~]$ docker
Usage: docker [OPTIONS] COMMAND [arg...]
       docker [ --help | -v | --version ]

A self-sufficient runtime for containers.

Options:

  --config=~/.docker              Location of client config files
  -D, --debug                     Enable debug mode
  -H, --host=[]                   Daemon socket(s) to connect to
  -h, --help                      Print usage
  -l, --log-level=info            Set the logging level
  --tls                           Use TLS; implied by --tlsverify
  --tlscacert=~/.docker/ca.pem    Trust certs signed only by this CA
  --tlscert=~/.docker/cert.pem    Path to TLS certificate file
  --tlskey=~/.docker/key.pem      Path to TLS key file
  --tlsverify                     Use TLS and verify the remote
  -v, --version                   Print version information and quit

Commands:
    attach    Attach to a running container
    build     Build an image from a Dockerfile
    commit    Create a new image from a container's changes

查看具体命令使用方法

[roo@localhost ~]$ docker ps -h
Flag shorthand -h has been deprecated, please use --help

Usage:  docker ps [OPTIONS]

List containers

Options:
  -a, --all             Show all containers (default shows just running)
  -f, --filter value    Filter output based on conditions provided (default [])
      --format string   Pretty-print containers using a Go template
      --help            Print usage
  -n, --last int        Show n last created containers (includes all states) (default -1)
  -l, --latest          Show the latest created container (includes all states)
      --no-trunc        Don't truncate output
  -q, --quiet           Only display numeric IDs
  -s, --size            Display total file sizes

相关文章

  • Docker教程:3 docker命令帮助

    查看docker命令 查看具体命令使用方法

  • 3.Docker 的常用命令

    概况 如何获得docker命令的帮助 docker 的常用命令 Docker命令使用帮助 Docker Clien...

  • Docker命令

    Docker命令总结: 帮助命令: docker version docker info docker --hel...

  • Docker常用命令

    Docker常用命令 Docker帮助命令 docker version:查看docker版本 docker in...

  • docker常用命令

    帮助命令 docker信息docker info版本docker version帮助docker --help 镜...

  • Docker常用命令

    一、帮助命令 查看docker版本信息命令 查看docker相关信息命令 docker帮助命令 二、镜像命令 一个...

  • Docker使用(2)

    runoob-docker教程 命令小结 docker使用 Docker Hello World Docker H...

  • Docker 命令

    Docker 命令帮助 docker rmi $(docker images | grep none | awk ...

  • docker

    查看所有命令选项 docker 查看 某个命令帮助 docker command --help 显示 Docker...

  • docker常用命令

    一、 docker帮助命令 二、docker 镜像(images)常用命令 三、docker 容器常用命令

网友评论

      本文标题:Docker教程:3 docker命令帮助

      本文链接:https://www.haomeiwen.com/subject/gfzjettx.html