docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

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

Open Skazza94 opened this issue 2 years ago • 2 comments

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 avatar Oct 06 '21 14:10 Skazza94

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

Skazza94 avatar Dec 10 '21 18:12 Skazza94

Hi all!

Any news about this thread?

tcaiazzi avatar Mar 24 '22 14:03 tcaiazzi