docker container in host mode is not reachable
Open
Nobody has claimed this yet.
bug
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
docker container in host mode is not reachable.
If i deploy a container in bridge mode, its working fine.
But if I deploy it in host mode --net=host i cannot get it work.
Reproduction steps
1. tried to deploy multiple containers with --net=host option.
2. neither could be reached from 4.0 rev1 or rev2
3. Any idea?
...
Expected behavior
Any internal ports of the container should be work from outside the os.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files or tests. Start by reproducing the --net=host deployment on Photon 4.0 rev1 and rev2, then compare it with bridge mode and verify whether the container's internal ports are reachable from outside the host OS. Done means the cause and a confirmed fix or documented limitation are established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100