docker / docker/docker-credential-helpers

How do I pass docker credentials in to a container?

Open
#183 1 comment 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
195
Avg merge
1d 20h
Merged PRs (30d)
5

Description

Previously, when using docker within docker, I only needed to mount the docker socket and the ~/.docker directory into the appropriate places in the container. Now, however, the credentials are stored "elsewhere" and not in ~/.docker/config.json.

How do I run a docker container that can use docker to talk to authenticated registries? Note that my host system may be osx OR linux, so DBUS socket mounting solutions need not apply.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by identifying how credentials are stored and accessed on the supported macOS and Linux setups; done would require a documented, platform-appropriate way to run a container that authenticates to registries.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
authentication
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.