Sign inSign up free

100. Running as Non-root

medium 5 XP ~1 minQuiz Pro

Why is it recommended to add a USER instruction (a non-root user) to production Dockerfiles?

This is a Pro problem

Pro unlocks every lab and quiz, all roadmaps and a full daily plan.

Unlock with Pro

Part of Docker Fundamentals. Next step: 127.0.0.1 vs 0.0.0.0

Pro question

Upgrade to answer this question and see its explanation.

See Pro