Skip to content
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

Default network mode is wrong #14417

Open
cowwoc opened this issue Nov 11, 2024 · 0 comments
Open

Default network mode is wrong #14417

cowwoc opened this issue Nov 11, 2024 · 0 comments

Comments

@cowwoc
Copy link

cowwoc commented Nov 11, 2024

Description

https://docs.docker.com/engine/network/drivers/ states that the default network mode is bridge but https://github.com/moby/moby/blob/2cfc2a57a84900db112bd911143de7aed719d739/daemon/network/network_mode_windows.go#L8 uses NAT.

This has impacted the following downstream projects:
kreuzwerker/terraform-provider-docker#603
pulumi/pulumi-docker#1272 (comment)

Reproduce

See kreuzwerker/terraform-provider-docker#603

Expected behavior

Either the documentation is wrong or the implementation is wrong. Either way, the two should be in sync.

docker version

Client:
 Version:           27.3.1
 API version:       1.47
 Go version:        go1.22.7
 Git commit:        ce12230
 Built:             Fri Sep 20 11:42:27 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.35.1 (173168)
 Engine:
  Version:          27.3.1
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.7
  Git commit:       41ca978
  Built:            Fri Sep 20 11:41:11 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.21
  GitCommit:        472731909fa34bd7bc9c087e4c27943f9835f111
 runc:
  Version:          1.1.13
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

N/A

Diagnostics ID

N/A

Additional Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants