Dockerfile resource
docker.file MQL resource for querying Operating System infrastructure with cnquery and cnspec.
Operating System
Dockerfile resource
Use MQL in cnspec shell or policy:
docker.fileMin version: 9.0.0Defaults:
file.path instructions.length stages.lengthRelationships
11 resources · 22 relationships·Click to select, expand fields to see properties.
Fields (12)
| Field | Type | Description |
|---|---|---|
addprivate | docker.file.add | Dockerfile ADD instructions |
argprivate | docker.file.arg | Dockerfile ARG instructions |
copyprivate | docker.file.copy | Dockerfile COPY instructions |
envprivate | docker.file.env | Dockerfile ENV instructions |
exposeprivate | docker.file.expose | Dockerfile EXPOSE instruction |
file | file | File information about this Dockerfile |
fromprivate | docker.file.from | Dockerfile FROM instructions |
instructions | dict | List of instructions in the order they appear |
runprivate | docker.file.run | Dockerfile RUN instructions |
stageprivate | docker.file.stage | Dockerfile stages |
stages | []docker.file.stage | All stages included in this Dockerfile |
userprivate | docker.file.user | Dockerfile USER instructions |