Docker(二)命令

 docker -- help 的命令:

    attach    Attach to a running container   //关联 到 一个运行的 容器
    build     Build an image from a Dockerfile  //创建 一个 镜像 从 一个 Docker 文件
    commit    Create a new image from a container's changes  //根据 一个 容器的 变化  创建一个新的 镜像
    cp        Copy files/folders between a container and the local filesystem //在 容器  和 宿主机 之间 复制 文件/文件夹
    create    Create a new container  //创建一个新的容器
    diff      Inspect changes on a container's filesystem  //在一个容器的文件系统  中 检查 变更 
    events    Get real time events from the server  //从 服务器 获取 实时的  事件 
    exec      Run a command in a running container  // 在 运行的 容器 里 运行 命令 
    export    Export a container's filesystem as a tar archive // 导出一个容器的文件  作为 一个 存档
    history   Show the history of an image //展示一个镜像的历史数据
    images    List images // 镜像的列表
    import    Import the contents from a tarball to create a filesystem image  // 从 原始码  导入内容 创建一个文件系统的镜像
    info      Display system-wide information  //显示系统信息
    inspect   Return low-level information on a container, image or task  //返回容器、镜像或任务的低级信息
    kill      Kill one or more running containers //杀死 一个或多个 运行的容器
    load      Load an image from a tar archive or STDIN  //从存档或者STDIN(标准输入流??) 加载一个镜像
    login     Log in to a Docker registry. //登录到一个docker 注册中心
    logout    Log out from a Docker registry. //从docker中心 退出
    logs      Fetch the logs of a container  //从容器中拉取日志文件
    network   Manage Docker networks //管理docker 网络
    node      Manage Docker Swarm nodes  //管理docker 群 节点
    pause     Pause all processes within one or more containers // 暂停一个或多个容器中的所有进程
    port      List port mappings or a specific mapping for the container //列出容器端口映射 或者 特殊映射
    ps        List containers //容器列表
    pull      Pull an image or a repository from a registry  //从注册中心 提取一个镜像 或者 一个 仓库
    push      Push an image or a repository to a registry //将一个镜像 或者 一个仓库 放入到 注册中心

    rename    Rename a container  //重命名一个容器
    restart   Restart a container  //重启动一个容器
    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 //  在docker路由中查找镜像
    service   Manage Docker services //管理Docker服务
    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 //停止一个或多个容器
    swarm     Manage Docker Swarm //管理Docker 群
    tag       Tag an image into a repository // 在仓库中标记一个镜像
    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  //显示版本信息  
    volume    Manage Docker volumes  //管理Docker
    wait      Block until a container stops, then print its exit code  //阻断 直到容器停止  然后打印退出代码

猜你喜欢

转载自blog.csdn.net/mobin518/article/details/88075170
今日推荐