Skip to content

Support custom DOCKER_CONFIG dir #148

Description

@hmnd

Summary

Allow running docker commands with a custom DOCKER_CONFIG per stack

Detailed description

The only way to login with more than one account per registry is to use a separate docker config dir per account. It's possible to tell docker and docker compose which config to use by setting the DOCKER_CONFIG env var for the shell docker compose is run within.

I would like for it to be possible to provide a different DOCKER_CONFIG per stack, so that I may pull images from private repos using different credentials.

Alternatives considered

Considered using .env, but docker ignores it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions