xeol-io/xeol

Unhelpful platform command error

noqcks opened this issue · 0 comments

noqcks commented

What happened:

When you try to run xeol on an image that is not the same as the architecture you issue the xeol command from it throws an error that is not very helpful.

1 error occurred:
	* failed to catalog: could not fetch image "xeolio.azurecr.io/dotnet:v1": unable to use DockerDaemon source: image has unexpected architecture "amd64", which differs from the user specified architecture "arm64"

What you expected to happen:

An error command that explains more about what is wrong and how to fix it. e.g use the --platform command line flag to get the correct architecture.

How to reproduce it (as minimally and precisely as possible):

Issue xeol on an image that doesn't have the architecture you're running.