Docker Community Forums

Share and learn in the Docker community.

How to pass network provider options, at "docker run" time?


We’re able to run our own docker network provider, create networks with it, and attach containers to that network etc - this works well.

However, we’d like to be able to at “docker run” time, pass options to the network provider. For example, our network provider implements ACLs, and we’d like a way to tell the network provider when starting the container to attach one of its ACLs to the interface the container will use.

Currently there doesn’t seem to be a way to pass through such driver/provider options. Are there any plans to allow this, and if there are not, how may I make a request for such a feature?