Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

docker context beaks apply #4

Open
byteplow opened this issue May 9, 2022 · 0 comments
Open

docker context beaks apply #4

byteplow opened this issue May 9, 2022 · 0 comments

Comments

@byteplow
Copy link
Owner

byteplow commented May 9, 2022

Problem

When a docker other than default is used. Docker stack can no find the configs imka created.

Cause

Imka configs are managed with the docker sdk for python. Docker stacks are manged using docker cli commands. As stack is not supported by the docker python sdk. The docker cli command uses the configured context, but docker sdk dose not.

Therefor configs and the stack may be created on different systems.

Workaround

Use the default context, and configer the target system via environment variables. Both systems under stand them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant