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

Passing network and config/secret to DockerSwarmOperator #7955

Closed
PriOliveira opened this issue Mar 29, 2020 · 3 comments
Closed

Passing network and config/secret to DockerSwarmOperator #7955

PriOliveira opened this issue Mar 29, 2020 · 3 comments
Labels

Comments

@PriOliveira
Copy link

I've been searching how to pass a network to a DockerSwarmOperator but in the docs there's only mention of network_mode.
Configs/secrets aren't even mentioned.
Am I missing something?

I'd like that a DockerSwarmOperator task was part of a network different than the default one in Docker Swarm.
And also pass some defined Docker config or Docker secret to it.

@boring-cyborg
Copy link

boring-cyborg bot commented Mar 29, 2020

Thanks for opening your first issue here! Be sure to follow the issue template!

@RosterIn
Copy link
Contributor

maybe @akki knows

@akki
Copy link
Contributor

akki commented Apr 26, 2020

I don't think passing network is currently supported by DockerSwarmOperator.

Can you find this feature in Python Docker API ?
If yes, it should be plausible to support this feature via DockerSwarmOperator as well.

In general, anything supported by the Python Docker API can theoretically be integrated into DockerSwarmOperator. For example, support for tty was added in 7ab9e95.

BTW the network_mode mentioned in the issue seems to be from the DockerOperator not the DockerSwarmOperator.

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

No branches or pull requests

4 participants