Docker Community Forums

Share and learn in the Docker community.

Image scan Scanning for this image has failed or scan data is unknown - Docker EE/DTR 2.6.2

I’m running a docker EE UCP/DTR environment.

I pushed a docker image to the DTR registry (v2.6.2) and started the scan, but the scan doesn’t complete and fails.

The Dockerfile I’m pushing

FROM: alpine:latest
ENV AWSCLI_VERSION “1.14.10”

#APK install AWSCLI

RUN apk add --update
python
py-pip
build-base
&& pip install awscli==$AWSCLI_VERSION --upgrade --user
&& apk --purge -v del py-pip
&& rm -rf /var/cache/apk/*
&& mv /root/.local/bin/aws /usr/local/bin/

#Mongodb backup Scripts
COPY script.sh /usr/local/bin/script.sh
RUN chmod 755 /usr/local/bin/script.sh
RUN echo ‘0 7 * * * /usr/local/bin/script.sh’ > /etc/crontabs/root

CMD [‘crond’, ‘-l 2’, ‘-f’]

Why is this image scan failing?