Docker笔记--Docker内置命令中英文对照常用的参考网址

docker --help

在Linux环境里输入docker --help
就会有英文版命令提示:

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/root/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level
                           ("debug"|"info"|"warn"|"error"|"fatal")
                           (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default
                           "/root/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default
                           "/root/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default
                           "/root/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  builder     Manage builds
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  engine      Manage the docker engine
  image       Manage images
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  cr

中文版

docker --help

管理命令:

  container   管理容器

  image       管理镜像

  network     管理网络

命令:

  attach      介入到一个正在运行的容器

  build       根据 Dockerfile 构建一个镜像

  commit      根据容器的更改创建一个新的镜像

  cp          在本地文件系统与容器中复制 文件/文件夹

  create      创建一个新容器

  exec        在容器中执行一条命令

  images      列出镜像

  kill        杀死一个或多个正在运行的容器    

  logs        取得容器的日志

  pause       暂停一个或多个容器的所有进程

  ps          列出所有容器

  pull        拉取一个镜像或仓库到 registry

  push        推送一个镜像或仓库到 registry

  rename      重命名一个容器

  restart     重新启动一个或多个容器

  rm          删除一个或多个容器

  rmi         删除一个或多个镜像

  run         在一个新的容器中执行一条命令

  search      在 Docker Hub 中搜索镜像

  start       启动一个或多个已经停止运行的容器

  stats       显示一个容器的实时资源占用

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

  tag         为镜像创建一个新的标签

  top         显示一个容器内的所有进程

  unpause     恢复一个或多个容器内所有被暂停的进程

参考资料

官方英文资源常用网址

· Docker官网:http://www.docker.com

· Docker windows入门:https://docs.docker.com/windows/

· Docker Linux 入门:https://docs.docker.com/linux/

· Docker mac 入门:https://docs.docker.com/mac/

· Docker 用户指引:https://docs.docker.com/engine/userguide/

· Docker 官方博客:http://blog.docker.com/

· Docker Hub: https://hub.docker.com/

· Docker开源: https://www.docker.com/open-source

中文资源常用网址

· Docker中文网站:http://www.docker.org.cn

· Docker中文文档:http://www.dockerinfo.net/document

· Docker安装手册:http://www.docker.org.cn/book/install.html

· 一小时Docker教程 :https://blog.csphere.cn/archives/22

· Docker中文指南:http://www.widuu.com/chinese_docker/index.html

猜你喜欢

转载自blog.csdn.net/GTWZeus/article/details/106504078