WILT: Docker + artifactory authentication
Quick one.
- Put this in
~/.docker/config.json
to keep it well separate from the git repository itself Artifactory
provides its own secure password to add to your username.- Log in to Artifactory
- Go to Welcome (top right) > Edit Profile > Administration
- Grab the Encrypted password contents
Set the auth bit as per:
"auths": { "<ArtifactoryURL>": { "auth": "<base64Encoded(username:encryptedpassword)>" } },
- That should let you log in as you when running
docker-compose up --build
etc.