facebook pixelDocker Static Code Analysis Rules
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
      Minor

      Ensure port 22 is not exposed

      Learn more

      CKV_DOCKER_2

      Best practice
      Minor

      Ensure that HEALTHCHECK instructions have been added to container images

      CKV_DOCKER_3

      Best practice
      Minor

      Ensure that a user for the container has been created

      CKV_DOCKER_4

      Best practice
      Minor

      Ensure that COPY is used instead of ADD in Dockerfiles

      CKV_DOCKER_5

      Best practice
      Minor

      Ensure update instructions are not use alone in the Dockerfile

      CKV_DOCKER_6

      Best practice
      Minor

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

      CKV_DOCKER_7

      Best practice
      Minor

      Ensure the base image uses a non latest version tag

      CKV_DOCKER_8

      Best practice
      Minor

      Ensure the last USER is not root

      CKV_DOCKER_9

      Best practice
      Minor

      Ensure that APT isn’t used