我正试图用特里维对停靠者的图像进行安全扫描。码头运行抛出错误failed to download vulnerability DB: DB file not found有什么原因吗?
命令:
$ mkdir /tmp/trivy
$ docker run --rm -v /tmp/trivy:/root/.cache/ aquasec/trivy python:3.4-alpine错误:
2021-03-03T09:55:22.770Z WARN You should avoid using the :latest tag as it is cached. You need to specify '--clear-cache' option when :latest image is changed
2021-03-03T09:55:22.771Z INFO Need to update DB
2021-03-03T09:55:22.771Z INFO Downloading DB...
2021-03-03T09:55:23.309Z FATAL failed to download vulnerability DB: failed to download vulnerability DB: DB file not found发布于 2021-03-03 10:14:07
听起来很荒谬。原来我的网络阻塞了下载。从我的移动设备切换到捆绑的互联网解决了这个问题。
https://stackoverflow.com/questions/66454944
复制相似问题