-
Notifications
You must be signed in to change notification settings - Fork 611
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
ipfs: move to net/http
-based implementation instead of binary-based one
#1917
Conversation
go.mod
Outdated
@@ -16,7 +16,7 @@ require ( | |||
github.com/containerd/nydus-snapshotter v0.5.0 | |||
github.com/containerd/stargz-snapshotter v0.13.0 | |||
github.com/containerd/stargz-snapshotter/estargz v0.13.0 | |||
github.com/containerd/stargz-snapshotter/ipfs v0.13.1-0.20230106161838-6844dbb4c428 | |||
github.com/containerd/stargz-snapshotter/ipfs v0.13.1-0.20230123103003-7aade82f8b66 |
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 we have a new release
6bf2d91
to
cb79149
Compare
go.mod
Outdated
github.com/containerd/stargz-snapshotter/ipfs v0.13.1-0.20230106161838-6844dbb4c428 | ||
github.com/containerd/stargz-snapshotter v0.14.0 | ||
github.com/containerd/stargz-snapshotter/estargz v0.14.0 | ||
github.com/containerd/stargz-snapshotter/ipfs v0.14.0 |
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 snapshotter daemon binary has to be updated too
Still draft? |
Yes. Fixing the bug through containerd/stargz-snapshotter#1082 . |
404502c
to
42a06ce
Compare
… one Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
} | ||
} | ||
imageIDs = base.Cmd("images", "--no-trunc", "-a", "-q").OutLines() | ||
base.Cmd(append([]string{"rmi", "-f"}, imageIDs...)...).AssertOK() | ||
} |
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.
?
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.
It looks like that the recent nerdctl rmi
strictlly requires each container's image exists in the image service and it has a logic to avoid removing images of existing containers.
This part of code didn't seem to meet this requirement and it seems to result in CI failures that report a container's corresponding image doesn't exist in the image store.
So this part tries to fix it by using nerdctl rmi
.
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 but a single question
By this commit, nerdctl works without relying on executing the ipfs binary (ipfs daemon still needs to be running).