User Tools

Site Tools


сканер_trivy

This is an old revision of the document!


Сканер Trivy

docker run --rm aquasec/trivy image nginx

docker run --rm -v $HOME/.cache/:/root/.cache/ aquasec/trivy image nginx

docker run --rm -v $HOME/.cache/:/root/.cache/ aquasec/trivy --insecure image gitlab.corp13.un:5000/student/pywebd

docker run --rm -v $HOME/.cache/:/root/.cache/ -v /var/run/docker.sock:/var/run/docker.sock aquasec/trivy image gitlab.corp13.un:5000/student/pywebd

$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy image gitlab.corp13.un:5000/student/pywebd
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v $HOME/Library/Caches:/root/.cache/ aquasec/trivy image pywebd
$ TR_VER=0.69.2

$ wget https://github.com/aquasecurity/trivy/releases/download/v${TR_VER}/trivy_${TR_VER}_Linux-64bit.deb

# dpkg -i trivy_${TR_VER}_Linux-64bit.deb

# trivy image pywebd
сканер_trivy.1773832757.txt.gz · Last modified: 2026/03/18 14:19 by val