-
Notifications
You must be signed in to change notification settings - Fork 18.9k
[draft] containerd integration: add support for image inspect #44621
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
Conversation
e60adc3 to
73eef4e
Compare
63bbb2c to
ac08e60
Compare
vvoland
left a comment
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.
Is there something else that needs to be done for this one?
| User: ociimage.Config.User, | ||
| WorkingDir: ociimage.Config.WorkingDir, | ||
| ExposedPorts: exposedPorts, | ||
| Volumes: ociimage.Config.Volumes, |
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.
You could add this one too rumpl#121
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.
Ah, I have that one in a branch for a follow-up, in case we still need a discussion (didn't want that discussion to block these changes).
@vvoland I think the only thing left (from my side) is to cleanup the commits / squash things; but code changes should already be good for review, so I'll have a look at doing so. |
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
…present
It's horrible, but some clients (such as the docker 17.03 CLI used in CI) still
perform string-matching to detect that the *image* wasn't found. This requires
the error to be prefixed with "No such image:". Without this prefix, the CLI
prints the error message, and exits.
Before this:
docker run -it --rm hello-world
docker: Error response from daemon: id not found.
See 'docker run --help'.
After this:
docker run -it --rm hello-world
Unable to find image 'hello-world:latest' locally
faa03e786c97: Download complete
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
There were a lot of useless duplicated code Signed-off-by: Djordje Lukic <djordje.lukic@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
ac08e60 to
b642809
Compare
|
closing this one; superseded by #43818 |
This upstreams a set of (partial) patches:
These patches were selected by looking at the history for https://github.com/rumpl/moby/commits/dd-4.15.0/daemon/containerd/image.go, and only the relevant parts for this feature were included.
Quite a few of those are touching-up previous commits, so we should consider squashing (some of) them, but keeping them separate for now to somewhat help review.
Also included rumpl#122