You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like in the JSON you need this under NetworksCreateParameters.IPAM.Config.Options. And the keys are Subnet and Gateway. The --Keys are just cmdline opts
I am using docker for windows with windows containers.
Basically all I want to do is execute this command via the C# client (executing it in cmd works fine):
However, somehow I do not manage to set up the network properly. I use this small piece of code:
But the network still is created with another gateway than specified, putting my options only in the network "options" array:
I also tried to specify just "subnet" and "gateway" (without the "--") but the result was the same. What do I do wrong?
The text was updated successfully, but these errors were encountered: