Locked · Module 6, lesson 3 of 8
Smaller, safer images: slim bases, multi-stage builds, a non-root user
Shrink the notice board image with a slim base and a multi-stage build, run it as a non-root user, and compare sizes before and after.
This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.
The 7 lessons of module 1 are free: see the lessons of the course.
Images, layers and the DockerfileNext: Running containers: ports, settings, volumes and logs
