Skip to content
This repository was archived by the owner on Jan 17, 2024. It is now read-only.

Add support for docker login#41

Merged
raydouglass merged 3 commits intogpuopenanalytics:masterfrom
raydouglass:docker-login
Nov 16, 2020
Merged

Add support for docker login#41
raydouglass merged 3 commits intogpuopenanalytics:masterfrom
raydouglass:docker-login

Conversation

@raydouglass
Copy link
Copy Markdown
Contributor

@raydouglass raydouglass commented Oct 23, 2020

Closes #33

Support for docker login is handled by executing docker commands prepended by env HOME=<dir> so that the credentials stored by docker are isolated per job. Per https://docs.docker.com/engine/reference/commandline/login/#privileged-user-requirement logins are stored in $HOME/.docker/config.json. The directory used is provided by WorkspaceList.tempDir(workspace) which returns a temporary directory based on the workspace.

Screen Shot 2020-10-23 at 2 56 43 PM

@raydouglass raydouglass added the 3 - Ready for Review Ready for review by team label Oct 23, 2020
@raydouglass raydouglass self-assigned this Oct 23, 2020
Copy link
Copy Markdown
Contributor

@dillon-cullinan dillon-cullinan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@raydouglass raydouglass merged commit 4972482 into gpuopenanalytics:master Nov 16, 2020
@raydouglass raydouglass deleted the docker-login branch November 16, 2020 18:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3 - Ready for Review Ready for review by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEA] Support for other docker registries

2 participants