Sign inSign up free

301. runAsNonRoot Failures

medium 5 XP ~1 minQuiz

After you add runAsNonRoot: true to a Pod, its container stays in CreateContainerConfigError with "container has runAsNonRoot and image will run as root". What fixes it while keeping the setting?

Part of Prepare for the CKAD. Next step: Enforce the Restricted Pod Security Standard

Choose one answer