Lab: The Containerized SDLC


目录

Build a real Node.js API, then apply containers at every stage of the software development lifecycle. You'll write a Compose file for local development, integration tests using Testcontainers, a CI/CD pipeline, and Kubernetes manifests — using the same container image throughout.

Launch the lab

{{< labspace-launch image="dockersamples/labspace-containerized-sdlc" browserUrl="http://dockerlabs.xyz" >}}

What you'll learn

By the end of this Labspace, you will have completed the following:

Modules

# Module Description
1 Introduction: Meet the App Tour the TaskFlow API and understand the SDLC journey ahead
2 Local Dev with Docker Compose Write a compose.yaml to provision a local database and visualizer
3 Containerizing Your Dev Environment Add the app to Compose with hot-reloading via Compose Watch
4 Integration Testing with Testcontainers Write self-contained tests that start a real PostgreSQL container
5 Continuous Integration with Gitea Actions Build a pipeline that tests, builds, and pushes a container image
6 Deploying to Kubernetes Write manifests and deploy to a live k3s cluster with automated rollouts
7 The Containerized SDLC: A Recap Review the portability, consistency, and reproducibility gains

版本号 #2
由 壳壳虫 创建于 2026-10-31 18:46:33 UTC
由 壳壳虫 更新于 2026-10-31 18:46:34 UTC