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

Feature Request: driver_opt parameter of Networks.connect in Containers.create #2896

Open
Skazza94 opened this issue Oct 6, 2021 · 2 comments

Comments

@Skazza94
Copy link
Contributor

Skazza94 commented Oct 6, 2021

Currently,
the Networks.connect method takes the driver_opt parameter in order to pass to the driver some custom values: https://docker-py.readthedocs.io/en/stable/networks.html#docker.models.networks.Network.connect.
I have a custom Network Plugin which uses such parameters to generate the MAC Address.

However, it is not possible to specify any custom value while attaching the first Docker network using Containers.create or Containers.run.

Is it possible to expose this parameter in such methods?

Thanks.

@Skazza94 Skazza94 changed the title driver_opt parameter of Networks.connect in Containers.create Feature Request: driver_opt parameter of Networks.connect in Containers.create Dec 10, 2021
@Skazza94
Copy link
Contributor Author

Hi, any chance to have an update on this? Thanks.

@tcaiazzi
Copy link

tcaiazzi commented Mar 24, 2022

Hi all!

Any news about this thread?

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