Skip to content

Conversation

@thaJeztah
Copy link
Collaborator

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
...

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Collaborator Author

github.com/containerd/containerd/vendor/github.com/miekg/pkcs11
#50 293.6 cgo: malformed DWARF TagVariable entry

Looks like we need moby#44571

@thaJeztah
Copy link
Collaborator Author

opened #123 to fix CI

…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>
@thaJeztah thaJeztah force-pushed the c8d_string_matching_yall branch from 5553bbe to a5a01b5 Compare December 9, 2022 08:57
@thaJeztah
Copy link
Collaborator Author

Rebased after #123 was merged; CI should (hopefully) go green now 👍

@thaJeztah
Copy link
Collaborator Author

All green 🎉 bringing this one in 👍

@thaJeztah thaJeztah merged commit 302d33d into rumpl:c8d Dec 9, 2022
@thaJeztah thaJeztah deleted the c8d_string_matching_yall branch December 9, 2022 12:21
@thaJeztah
Copy link
Collaborator Author

This should be upstreamed together with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants