Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use DOCKER_CONFIG to have creds in dind environment #2764

Merged
merged 2 commits into from Feb 11, 2021

Conversation

StefanScherer
Copy link
Member

We tried to mount the docker creds into the dind environment, but Jenkins doesn't put it in ~/.docker/config.json on the host, but in $DOCKER_CONFIG environment variable. So use the variable instead to keep the machines in a sane state.
We otherwise accidentally created a folder ~/.docker/config.json/ which then breaks any wrappedNode and withDockerRegistry steps.

Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
Signed-off-by: aiordache <anca.iordache@docker.com>
@aiordache aiordache merged commit c15ee39 into docker:master Feb 11, 2021
@StefanScherer StefanScherer deleted the clean-home-docker branch February 11, 2021 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants