facebook pixelCodiga Analysis Docker Rules, category best practice
BACK TO LIST

Docker rules

Check your Docker files code using Codiga. The Codiga Static Code Analysis engine flags potential issues that may cause security issues or just declarations that do not follow best practices.

CKV_DOCKER_1

Best practice
Informational

Ensure port 22 is not exposed

Learn more

CKV_DOCKER_2

Best practice
Informational

Ensure that HEALTHCHECK instructions have been added to container images

CKV_DOCKER_3

Best practice
Informational

Ensure that a user for the container has been created

CKV_DOCKER_4

Best practice
Informational

Ensure that COPY is used instead of ADD in Dockerfiles

CKV_DOCKER_5

Best practice
Informational

Ensure update instructions are not use alone in the Dockerfile

CKV_DOCKER_6

Best practice
Informational

Ensure that LABEL maintainer is used instead of MAINTAINER (deprecated)

CKV_DOCKER_7

Best practice
Informational

Ensure the base image uses a non latest version tag

CKV_DOCKER_8

Best practice
Informational

Ensure the last USER is not root

CKV_DOCKER_10

Best practice
Error

Ensure that WORKDIR values are absolute paths

CKV_DOCKER_9

Best practice
Informational

Ensure that APT isn’t used