Files
docker-cli/cli/command/image
Sebastiaan van Stijn 323fbc485e cli/command/image: remove special handling for plugin errors on pull
This special handling was added in [moby@9b6dcc8], and later updated in
[moby@c127d96], but it fully depended on string-matching, which is brittle.
Testing the original ticket that lead to this handling, it looks like the
string matching no longer works, and the daemon error is returned as-is:

With graphdrivers:

    docker pull tiborvass/no-remove
    Using default tag: latest
    Error response from daemon: Encountered remote "application/vnd.docker.plugin.v0+json"(unknown) when fetching

With containerd snapshotters enabled:

    docker pull tiborvass/no-remove
    Using default tag: latest
    latest: Pulling from tiborvass/no-remove
    cf635291f7c9: Download complete
    failed to unpack image on snapshotter overlayfs: mismatched image rootfs and manifest layers

The error-message for containerd can probably be improved, but as the special
handling in the CLI no longer works, we can remove it.

[moby@9b6dcc8]: 9b6dcc8b9d
[moby@c127d96]: c127d9614f

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-08-26 23:47:17 +02:00
..
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00
2025-08-19 14:25:15 +02:00