Aqua Vulnerability Database
Get Demo
Vulnerabilities
Misconfiguration
Runtime Security
Compliance
Dockerfile
>
General
>
User Absolute Workdir
HIGH
Source
Trivy
ID
AVD-DS-0009
WORKDIR path not absolute
For clarity and reliability, you should always use absolute paths for your WORKDIR.
Impact
Links
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#workdir
Aqua Container Security