-
Notifications
You must be signed in to change notification settings - Fork 264
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
[release/0.9] Fix for port conflict with docker daemon #1373
Conversation
@ameyag Does this mean we don't need the other backport pr? |
@dcantah - We need both backports. This one to get the change into moby master which is currently on 0.9.2 (https://github.com/moby/moby/blob/master/vendor.mod#L14) #1371 for moby's 20.10 branch that uses hcsshim's moby branch (https://github.com/moby/moby/blob/20.10/vendor.conf#L2) |
@ameyag Gotcha 👍 Looks like there's a linter issue also on this branch (not related to your change). Let me look into it |
8dd80e3
to
9242615
Compare
@ameyag Sorry, I never got back to testing the linter issue 😥. We skip the go install on master also due to some issues with 1.18 so that's fine, and it seems like the same is happening here. I guess, can we pin the version to 1.17.8 like on master as well? I think this is fine then |
@ameyag Your linter change was checked in so a rebase/get rid of the fix here and I think we're good to go! |
… a flag exposed for docker to avoid port reservation conflict with external port (microsoft#1370) HNS API V2 will use NatFlags to check and see if ExternalPortReserved is set (cherry picked from commit b85f3fd) Signed-off-by: Ameya Gawde <agawde@mirantis.com> Co-authored-by: Kendall Stratton <kestratt@microsoft.com> (cherry picked from commit dbb347e) Signed-off-by: Ameya Gawde <agawde@mirantis.com>
a15940f
to
5aba212
Compare
@dcantah - Thanks. Cleaned up and rebased. |
Since moby master is vendoring 0.9.x hcsshim, backporting #1370 to release/0.9 branch