-
Notifications
You must be signed in to change notification settings - Fork 61
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
Windows VM: New Network Profiles Generated on Reboot #532
Comments
@apostrophize Sorry, somehow I did not see your message until now? Is there any reason why you are using this container, and not my other container: dockur/windows because that one is completely designed to run Windows and this one for Linux. Im curious if you have the same issue with dockur/windows too. |
My bad @kroese, GitHub doesn't like email aliases so my account was restricted for a while there. I did try dockur/windows, and while it works well, the same issue with network profiles being created upon a restart of the container persists. I prefer this container for its flexibility and simplicity, which better suits my use case, and besides this minor inconvenience of manually having to remove the excess network profiles with regedit on Windows, it works wonderfully. Here’s a screenshot showing the Windows 10 desktop after the container has just restarted; as far as I know, Windows 11 does not show this type of notification panel. Is there a specific configuration or setting within this container that could help maintain a consistent network profile across reboots? Any suggestions or guidance would be greatly appreciated. Thank you! |
I never noticed this issue myself, and I also didnt see anyone ever report it before. So it looks like it is specific to your system, but I have no clues as what might be causing it. I would expect this behaviour for example when the MAC address of the network adaptor changes. But I generate this address a single time, then store it in Besides the MAC address, I do not know what other factors can cause Windows to see the network adaptor as a new device. You can set Or maybe its related to some Docker settings, that assigns a different subnet/gateway ip for the container each time, causing it to think the network has changed. Its difficult to pinpoint whats going on without knowing exactly what are the conditions that Windows uses to mark a network as new. |
same problem in win2k22 vm |
I also experienced this problem now, with Windows Server 2019. I have no idea how Windows detects the network device has changed. The MAC address and PCI bus did not change. |
Operating system
Debian 12
Description
I've set up a QEMU virtual machine running Windows. The virtual machine has been successfully installed, and I've manually installed Virtio drivers for networking. However, whenever I initiate a reboot or restart of the virtual machine / Docker container, a new network profile is created (e.g., "Network 2", "Network 3", etc.).
Attempts:
I've tried setting the environment variable "MAC=[generic MAC address]" to ensure consistent network interface identification across reboots, but this hasn't resolved the issue.
Expected Behavior:
Ideally, the network profile should remain consistent across reboots.
Docker compose
Docker log
Screenshots (optional)
The text was updated successfully, but these errors were encountered: