-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Add info about host network support in DD 4.29 #19654
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
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
content/network/drivers/host.md
Outdated
@@ -32,7 +32,8 @@ Host mode networking can be useful for the following use cases: | |||
This is because it doesn't require network address translation (NAT), and no "userland-proxy" is created for each port. | |||
|
|||
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. | |||
Docker EE for Windows Server but is available on newer versions of Docker | |||
Desktop as a paid beta feature (see below for details). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The working seems to say that users have to pay an additional cost for THIS feature.
If they are pro users, they get this feature "for free"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is better said (IMHO) later in the doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I removed the word "paid".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a nit
content/network/drivers/host.md
Outdated
@@ -32,7 +32,8 @@ Host mode networking can be useful for the following use cases: | |||
This is because it doesn't require network address translation (NAT), and no "userland-proxy" is created for each port. | |||
|
|||
The host networking driver only works on Linux hosts, and is not supported on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the reference to Docker EE?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few suggestions.
content/network/drivers/host.md
Outdated
@@ -32,7 +32,8 @@ Host mode networking can be useful for the following use cases: | |||
This is because it doesn't require network address translation (NAT), and no "userland-proxy" is created for each port. | |||
|
|||
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. | |||
Docker EE for Windows Server but is available on newer versions of Docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI, I don't believe there's Docker EE anymore.
content/network/drivers/host.md
Outdated
## Docker Desktop | ||
|
||
Since Docker Desktop 4.29 host networking is also supported | ||
on Docker Desktop for Mac, Docker Desktop for Windows, and Docker Desktop for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Simplify to "Docker Desktop for Mac, Windows, and Linux as a beta feature ..."
content/network/drivers/host.md
Outdated
on Docker Desktop for Mac, Docker Desktop for Windows, and Docker Desktop for | ||
Linux as a beta feature for users with a paid subscription (Docker Pro or higher). | ||
|
||
This feature works in both directions. That means that you can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: it would be really good to provide a simple example for host networking in each direction, so users can more easily grasp the concept and value of the feature. Maybe this belongs in the host-networking tutorial section though (I see a link to it under "Next Steps" below).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, good idea. I added examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice, simple examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, just one more comment.
content/network/drivers/host.md
Outdated
What you type in here will then appear on the terminal where the container is | ||
running. | ||
|
||
To access a service running on the container you can start a container with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To access a service running on the container
Did you mean "To access a service running on the host from the container, you can start ..."
content/network/drivers/host.md
Outdated
on Docker Desktop for Mac, Docker Desktop for Windows, and Docker Desktop for | ||
Linux as a beta feature for users with a paid subscription (Docker Pro or higher). | ||
|
||
This feature works in both directions. That means that you can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nice, simple examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aheck. Just some style guide and formatting quibbles. Could also add the paid subscription info in a callout, but I'll do this in a follow-up PR after the release. No rush to do it now
Co-authored-by: Allie Sadler <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aheck LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR doesn't contain all the necessary updates; there are more places referring to host networking with docker desktop, such as:
Description
Update the documentation to account for the new host networking feature in Docker Desktop.
Related issues or tickets
https://docker.atlassian.net/browse/POS-891
Reviews
@aevesdocker