Docker CLI doesn't print received error message during a failed push #2274
omartrigui
started this conversation in
General
Replies: 1 comment
-
Based on the existing error reporting in github.com/containerd/containerd, it seems docker cli ignores errors returned by container registries. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
When trying to push a tag overwrite to our company-specific registry, a 400 Bad Request error is returned, accompanied by an error message that follows the standard error specifications. The error message follows this structure:
Does the Docker CLI support printing the error messages returned from Container Registries ?
Steps to Reproduce
Build the Docker image using the following command:
Actual behavior
Expected behavior
Alongisde the HTTP code status, the error message returned by the registry should be printed, helping the user to diagnose the issue further e.g.
The image tag 'master' already exists in the 'my_namespace/team/image' repository ...
Beta Was this translation helpful? Give feedback.
All reactions