Ravindra BagaleCourses & study guides मराठी

Ravi Sir's Cards › Chapter 52: Dockerfile Instructions Explained: FROM, RUN, CMD vs ENTRYPOINT, COPY vs ADD, Multi-Stage and BuildKit

Why set USER in a Dockerfile?

Why set USER in a Dockerfile? Containers run as root by default. A non-root USER limits damage if the app is hacked. Use ports above 1024.

Why set USER in a Dockerfile? Containers run as root by default. A non-root USER limits damage if the app is hacked. Use ports above 1024.
Download PNG

Lesson: 52.6 WORKDIR, EXPOSE and USER · मराठी card