docker / docker/docker-credential-helpers
How do I pass docker credentials in to a container?
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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