running docker container with --network host should produce an error
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
the docs hiding a statement:
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.
running docker container with --network host should produce an error and not run silently without working on the windows platform.
a simple warning could save many hours of network debugging for many developers trying to use the host driver on windows platform without knowing It is not supported.
please consider adding a warning,
Thank you.
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
Start by tracing how the Docker CLI handles docker run --network host on Windows, using the behavior described in the issue and the linked host-networking documentation. Done means an unsupported host-network request produces a warning or error instead of silently running without functional host networking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100