Stencel AcademyHow Infrastructure Works →
Part 3 · Lesson 16 · Advanced

Containers & Images

Ship the whole environment, not just the code.

In this interactive Infrastructure lesson from Stencel Academy you don't just read — you type real commands like docker run -d -p 8080:3000 promptd:v2, docker ps and watch the machine respond on a live, animated map. It is part of the free How Infrastructure Works course.

Key takeaway: An image freezes app plus environment; docker run thaws it anywhere, mapping host ports to the container.

Before this lesson

Builds on: Queues & Workers.

What you'll practise

Terms you'll learn

imageregistryport mappingimage layerDockerfile

Check your understanding

What is the image promptd:v2?
Open the interactive lesson →