Open aep-sunlife opened 2 weeks ago
To clarify, the image is built with conventional docker build -t <name> .
commands, no special sauce.
@mcandre, this is another issue with the different interpretations of the OCI spec. While docker build
supports creating images with names like SecOps/hello-world-ant
other commands don't support them. Those names are not compatible with the OCI spec which is why this is failing in our of our dependencies. If you can lowercase the namespace part of your image name, it would work.
More oddities, when trying to pull this image:
❯ docker pull SecOps/hello-world-ant
Using default tag: latest
Error response from daemon: failed to resolve reference "SecOps/hello-world-ant:latest": failed to do request: Head "https://SecOps/v2/hello-world-ant/manifests/latest": dialing SecOps:443 container via direct connection because has no HTTPS proxy: connecting to SecOps:443: dial tcp: lookup SecOps: no such host
Interesting.
Please apply validation, with a message indicating that the requested image name uses nonportable characters, with a URL to some documentation on standardized image names.
When I try to scan locally built Docker images with the Docker Scout GUI, then I get a security report.
However, when I use the Docker Scout CLI, then it crashes with a strange error trace. I think the error handling may be broken.
Also tried using the option to scan the most recently built image:
Tried configuring
export DOCKER_DEFAULT_PLATFORM='linux/amd64'
.Tried explicitly providing
--platform linux/amd64
Tried rebuilding the image without the
SecOps/
prefix.Tried referencing the image with an explicit
:latest
tag suffix.Tried removing the
-e
option for meaningful exit codes.Tried macOS and Windows.
Tried Docker Scout 14 and Docker Scout 15.
Tried relaunching Docker.
Tried
docker system prune -f
.No change in behavior.