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

Support run container with network id #2589

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

fahedouch
Copy link
Member

fix #2436

@fahedouch fahedouch force-pushed the support-run-with-network-id branch 2 times, most recently from 4218424 to 58391b8 Compare October 23, 2023 22:21
@fahedouch fahedouch added this to the v1.6.3 milestone Oct 23, 2023
@fahedouch fahedouch changed the title Support run container with network Support run container with network id Oct 23, 2023
Copy link
Contributor

@yankay yankay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fahedouch

@fahedouch fahedouch force-pushed the support-run-with-network-id branch from 719376d to 4d14983 Compare October 24, 2023 09:49
@fahedouch fahedouch requested a review from AkihiroSuda October 24, 2023 10:03
{
args: []string{"--net", "host"},
},
}
for _, tc := range testCases {
tc := tc // IMPORTANT
if tc.dockerIncompatible {
// docker compute id algorithm is different from nerdctl
testutil.DockerIncompatible(t)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be compatible if you inspect the id via docker network inspect

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@fahedouch fahedouch force-pushed the support-run-with-network-id branch from 36e1772 to fbea131 Compare October 26, 2023 22:36
@AkihiroSuda
Copy link
Member

Please rebase to make CI green

@fahedouch fahedouch mentioned this pull request Oct 27, 2023
@fahedouch fahedouch force-pushed the support-run-with-network-id branch from fbea131 to 792a0cb Compare October 27, 2023 23:30
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit e605881 into containerd:main Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot connect a container to a network by ID
3 participants