본문 바로가기

WebDev

Elasticbeanstalk docker Using Images From a Private Repository (new)

Important

Beginning with Docker version 1.7, the docker login command changed the name of the authentication file, and the format of the file. With Docker version 1.7 and later, the docker login command creates the authentication file in ~/.docker/config.json in the following format:

{
  "auths" :
  {
    "server" :
    {
      "auth" : "auth_token",
      "email" : "email"
    }
  }
}

With Docker version 1.6.2 and earlier, the docker login command creates the authentication file in~/.dockercfg in the following format:

{
  "server" :
  {
    "auth" : "auth_token",
    "email" : "email"
  }
}

Elastic Beanstalk currently requires the older ~/.dockercfg format configuration file. To convert aconfig.json file, remove the outer auths key and flatten the JSON document to match the old format.

'WebDev' 카테고리의 다른 글

깨지지 않는 유연한 디자인을 위한 규칙  (0) 2018.12.14
position: fixed 그리고 z-index  (0) 2016.07.08
AWS 인증서 업로드  (0) 2016.03.25
jQuery direct text  (0) 2016.03.19
AngularJS  (0) 2016.03.11