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

How do I pass docker credentials in to a container? #183

Open
llamahunter opened this issue Jun 11, 2020 · 1 comment
Open

How do I pass docker credentials in to a container? #183

llamahunter opened this issue Jun 11, 2020 · 1 comment

Comments

@llamahunter
Copy link

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.

@Codym48
Copy link

Codym48 commented Mar 13, 2023

Bump! It seems providing some documentation or guidance about how to do this would solve a huge number of issues raised elsewhere:

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

No branches or pull requests

2 participants