zoukankan      html  css  js  c++  java
  • docker 命令汇总2

    docker version

    [root@cu-tmp-201 ~]# docker version
    Client:
     Version:           18.09.6
     API version:       1.39
     Go version:        go1.10.8
     Git commit:        481bc77156
     Built:             Sat May  4 02:34:58 2019
     OS/Arch:           linux/amd64
     Experimental:      false
    
    Server: Docker Engine - Community
     Engine:
      Version:          18.09.6
      API version:      1.39 (minimum version 1.12)
      Go version:       go1.10.8
      Git commit:       481bc77
      Built:            Sat May  4 02:02:43 2019
      OS/Arch:          linux/amd64
      Experimental:     false

    docker login

    [root@cu-tmp-201 ~]# docker login
    Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
    Username: qq
    Password:
    WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
    Configure a credential helper to remove this warning. See
    https://docs.docker.com/engine/reference/commandline/login/#credentials-store
    
    Login Succeeded
    [root@cu-tmp-201 ~]# cd .docker/
    [root@cu-tmp-201 .docker]# ls -l
    total 4
    -rw------- 1 root root 169 May 19 09:19 config.json
    [root@cu-tmp-201 .docker]# cat config.json
    {
            "auths": {
                    "https://index.docker.io/v1/": {
                            "auth": "Y29uZmlnLmpzb24="
                    }
            },
            "HttpHeaders": {
                    "User-Agent": "Docker-Client/18.09.6 (linux)"
            }
    }
  • 相关阅读:
    线段树(题集
    T3——拆分自然数
    P1309 瑞士轮
    普通母函数简单使用
    双向广度优先搜索
    秦九韶算法
    P1043-数字游戏
    网站在阿里云备案的详细全过程详细步骤
    从git拉取代码后经常出现maven窗口不见
    SpringBoot入门教程之打成war包在tomcat容器中执行
  • 原文地址:https://www.cnblogs.com/createyuan/p/10888188.html
Copyright © 2011-2022 走看看