EasyEnv
Engineering/Courses/Catalog/Docker/Capstone: Shipping a Stack
Docker
IntermediateLesson 13 of 1350 min · hands-on

Capstone: Shipping a Stack

Part of the Docker course

Every lesson so far taught one thing against a container that printed a string. That is how you learn a directive and it hides the part that is actually hard, which is that a real application is several containers that have to find each other, start in the right order, keep their data, and end up somewhere a different machine can reach.

You are going to build that. A small Go HTTP API talking to Postgres, in a multi-stage image that is small and runs as a non-root user, wired together with Compose so the API waits for the database to be genuinely ready, then tagged and pushed so a fresh machine can run the whole thing with one command. ...

Want to learn Docker Capstone: Shipping a Stack in a real environment?

Click below, get a fresh Linux box with Docker ready to go, and work through Capstone: Shipping a Stack hands-on with an AI tutor that knows your code.

Start this lessonCapstone: Shipping a Stack

What you'll learn

  • Multi-stage Dockerfile
  • Compose.yaml with two services
  • Healthcheck and restart policy
  • Tag and push
  • Run elsewhere

Read this lesson in your language

All lessons in this course

13 lessons
  1. 1What Is Docker20 min
  2. 2Your First Container25 min
  3. 3Images and the Dockerfile30 min
  4. 4Building Custom Images35 min
  5. 5Container Networking30 min
  6. 6Volumes and Persistence30 min
  7. 7Docker Compose35 min
  8. 8Multi-Stage Builds35 min
  9. 9Environment Variables and Secrets25 min
  10. 10Healthchecks and Restart Policies25 min
  11. 11Image Optimization and Security30 min
  12. 12Registries and Publishing25 min
  13. 13Capstone: Shipping a Stack50 min

Explore other courses

Capstone: Shipping a Stack - Docker (English) | Engineering Courses