berkeley-dsep-infra / hubploy

Toolkit to deploy many z2jh based JupyterHubs
BSD 3-Clause "New" or "Revised" License
17 stars 15 forks source link

Ensure `credHelpers` key exists in ~/.docker/config.json #59

Closed yuvipanda closed 4 years ago

yuvipanda commented 4 years ago

hubploy build authenticates to AWS ECR by adding an credHelpers entry pointing to ecr-login to ~/.docker/config.json. If a ~/.docker/config.json file already exists but does not have a credHelpers entry, a KeyError was raised and hubploy failed.