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 network prune #1253

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Conversation

junnplus
Copy link
Member

Signed-off-by: Ye Sijun [email protected]

@AkihiroSuda AkihiroSuda added this to the v0.22.1 milestone Jul 21, 2022
@junnplus

This comment was marked as off-topic.

@junnplus junnplus force-pushed the prune-network branch 3 times, most recently from e411a8d to ff4e225 Compare July 21, 2022 09:42
README.md Outdated Show resolved Hide resolved
cmd/nerdctl/network_prune_linux_test.go Show resolved Hide resolved
@fahedouch fahedouch self-requested a review July 22, 2022 16:06
cmd/nerdctl/network_prune.go Show resolved Hide resolved
}
switch status.Status {
case containerd.Paused, containerd.Running:
default:
Copy link
Member

Choose a reason for hiding this comment

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

Why ignore containerd.Running ?

Copy link
Member Author

@junnplus junnplus Jul 23, 2022

Choose a reason for hiding this comment

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

Keep the same as docker.

This comment was marked as abuse.

Copy link
Member

Choose a reason for hiding this comment

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

Didn't get your point !

Copy link
Member Author

@junnplus junnplus Jul 25, 2022

Choose a reason for hiding this comment

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

Docker doesn't clear the network in use, this is not ignored, only the network of the running/pause container will be recorded.

cmd/nerdctl/volume_rm.go Outdated Show resolved Hide resolved
Signed-off-by: Ye Sijun <[email protected]>
@junnplus junnplus marked this pull request as draft July 23, 2022 06:54
@junnplus junnplus marked this pull request as ready for review July 25, 2022 08:19
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 134c8b2 into containerd:master Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants