-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Allow user to specify default address pools for docker networks #818
Conversation
Codecov Report
@@ Coverage Diff @@
## master #818 +/- ##
=========================================
Coverage ? 51.67%
=========================================
Files ? 244
Lines ? 15823
Branches ? 0
=========================================
Hits ? 8177
Misses ? 7101
Partials ? 545 |
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.
Docs LGTM
@@ -40,6 +40,7 @@ Options: | |||
-D, --debug Enable debug mode | |||
--default-gateway ip Container default gateway IPv4 address | |||
--default-gateway-v6 ip Container default gateway IPv6 address | |||
--default-address-pools Set the default address pools for local node networks |
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 should be singular now
Also, I think this page has an example daemon.json
; can you update that one as well (with some example values)
man/dockerd.8.md
Outdated
@@ -22,6 +22,7 @@ dockerd - Enable daemon mode | |||
[**-D**|**--debug**] | |||
[**--default-gateway**[=*DEFAULT-GATEWAY*]] | |||
[**--default-gateway-v6**[=*DEFAULT-GATEWAY-V6*]] | |||
[**--default-address-pools**[=*DEFAULT-ADDRESS-POOLS*]] |
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.
same here
will correct it
…On Tue, May 1, 2018 at 8:17 AM, Sebastiaan van Stijn < ***@***.***> wrote:
***@***.**** requested changes on this pull request.
------------------------------
In docs/reference/commandline/dockerd.md
<#818 (comment)>:
> @@ -40,6 +40,7 @@ Options:
-D, --debug Enable debug mode
--default-gateway ip Container default gateway IPv4 address
--default-gateway-v6 ip Container default gateway IPv6 address
+ --default-address-pools Set the default address pools for local node networks
This should be singular now
Also, I think this page has an example daemon.json; can you update that
one as well (with some example values)
------------------------------
In man/dockerd.8.md
<#818 (comment)>:
> @@ -22,6 +22,7 @@ dockerd - Enable daemon mode
[**-D**|**--debug**]
[**--default-gateway**[=*DEFAULT-GATEWAY*]]
[**--default-gateway-v6**[=*DEFAULT-GATEWAY-V6*]]
+[**--default-address-pools**[=*DEFAULT-ADDRESS-POOLS*]]
same here
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#818 (review)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKEKnxQIURxbluZ8L6fo7PtP20KLVw4aks5tuFJhgaJpZM4Rj1ue>
.
|
43c360e
to
e949b50
Compare
I thought I pushed my changes but looks like I forgot to push it. updated @thaJeztah review comments. |
@@ -1349,6 +1350,8 @@ This is a full example of the allowed configuration options on Linux: | |||
] | |||
} | |||
} | |||
"default-address-pools":[{"base":"172.80.0.0/16","size":24}, |
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 like there's a comma missing in the JSON (it shows as invalid)
This is separate commit for CLI files to address PR 36054 Signed-off-by: selansen <[email protected]>
corrected it. |
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
ping @gbarr01 for additional documentation changes in other sections of the documentation
This is separate commit for CLI files to address PR
moby/moby#36054moby/moby#36396Signed-off-by: selansen [email protected]
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)