Workload misconfigurations

Enable user namespace support (Automated)

Risk Level

Informational (4)

  • N/A

Compliance Frameworks


You should enable user namespace support in Docker daemon to utilize container user to host user re-mapping. This recommendation is beneficial where the containers you are using do not have an explicit container user defined in the container image. If the container images that you are using have a pre-defined non-root user, this recommendation may be skipped as this feature is still in its infancy, and might result in unpredictable issues or difficulty in configuration.
  • Recommended Mitigation

    Please examine the Docker documentation, for various ways in which this can be configured depending upon your requirements. Your steps might also vary based on platform - For example, on Red Hat, sub-UIDs, and sub-GIDs mapping creation do not work automatically. You might have to create your own mapping.