Locked · Module 6, lesson 4 of 8

Running containers: ports, settings, volumes and logs

Run the image with a port mapping and settings from the environment, keep PostgreSQL's data in a volume that survives a restart, and read a container's logs.

This lesson comes with the course. Enrolment is not open yet, and no payment is taken now.

Tell me when the course opens

The 7 lessons of module 1 are free: see the lessons of the course.

Smaller, safer images: slim bases, multi-stage builds, a non-root userNext: Registries and tags: storing and sharing images