moby / moby/libnetwork

Service port not exposed when using Windows network interface option 'dhcpstaticipcoexistence'

Open
#2,086 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.2k
Forks
875
PR merge metrics
No merged PRs in 30d

Description

I originally posted over at https://github.com/portainer/portainer/issues/1669, but I'm starting to think this might be a docker issue as I can no longer access other services. I'm confused on this one.

I have a very perplexing problem with portainer when running on a Windows 10 Pro laptop that has it's primary network interface configured with dhcpstaticipcoexistence. Because the laptop will always have a dynamic IP, and I need to access host services from a container, I added a static address alias to the interface:

netsh interface ipv4 set interface "Ethernet" dhcpstaticipcoexistence=enabled
netsh interface ipv4 add address "Ethernet" 192.168.99.99 255.255.255.0

Is this a known issue?

NOTE: Reboot to test your changes. It wasn't until after a reboot that enabled/disabled affected docker.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported setup on Windows 10 using the supplied netsh commands, the dhcpstaticipcoexistence option, and a reboot, then check whether the container service port and other services remain reachable. Done means identifying whether libnetwork or Docker is responsible and documenting a reproducible cause or confirmed fix; the issue names no source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.