-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Unable to create transparent network with defined subnet on nested Windows Server Core host #34777
Comments
Upon closer investigation, appears HNS in this scenario was attempting to set a default gateway matching my subnet (e.g. 192.168.1.0). Not sure what that's about (sounds like a strange default) but explicitly specifying the |
@riverar Oh ya i actually found out that this doesn't work without specifying the gateway very recently :(. Unfortunately it was too late in the development cycle to fix it for this milestone. Will get it fixed in the next milestone. |
@msabansal is that an issue in Windows, or Docker? |
Windows fix. |
Did this make it into RS4 or? |
Did this make it into RS5 or? I ask because now it seems to have gotten worse. Creating a network with
The network does get created and seems to work. More testing required. |
@madhanrm perhaps you know? |
Description
Attempting to create a transparent network with a user-defined subnet on a nested Windows Server Core Insider Build 16278 host (virtual machine) results in obscure error.
Verified the host doesn't have any networks created with overlapping subnets.
I faintly recall hearing nested hosts only support nat but I can't seem to find docs on this. At any rate, would expect a slightly friendlier error.Steps to reproduce the issue:
docker network create -d transparent --subnet x.x.x.x repro
Describe the results you received:
Docker log snippet:
Event Log:
Trace snippet:
Describe the results you expected:
Success, or a documented error about transparent networks not being supported in nested scenarios. (Is this a thing?)
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Hyper-V host: Windows Server 2016 14393.1593
Container host, virtualized: Windows Server Core Insider 16278.1000
cc: @jhowardmsft @PatrickLang @neilpeterson @msabansal
The text was updated successfully, but these errors were encountered: