Skip to content
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

dockerfile: ensure config resolve errors keep source location #2183

Merged
merged 1 commit into from Jun 17, 2021

Conversation

tonistiigi
Copy link
Member

@tonistiigi tonistiigi commented Jun 17, 2021

When the wrong image name is used in Dockerfile and the registry responds with an error the source mapping with the Dockerfile FROM line was not kept.

Because it is such a common error and containerd doesn't include image name in the error I also added extra wrapping for that.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@AkihiroSuda AkihiroSuda merged commit b6b07d1 into moby:master Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants