Containers and Docker, basic to advancedAI in containers (self-study)
2 lessons · about 34 minutes of reading · Helmsman Pro
This page is the public course outline. Lessons, labs, tools and exams open after you sign in to your free account.
Sign in and start
In short
Two lessons on AI in containers: AI helpers for containers: Gordon, AI-written Dockerfiles, and checking them; and containerising an AI app: model files, image size, GPU access and secrets. A self-study course: cohort programmes may set it as homework rather than teach it live.
Before you start: The containers basics course.
What you'll learn
- Gordon proposes; you approve each action
- YOLO mode skips approvals: avoid it
- Give assistants your Dockerfile rules
- Verify with history, scans, the user check and image size
- Slim, multi-stage, pinned images; .dockerignore datasets and checkpoints
- Weights in the image or mounted, but always pinned with a checksum
- GPUs at run time (--gpus / Kubernetes resource); match CUDA to the driver
- Build secrets, runtime keys, non-root, read-only models, scanning
Lessons
1. AI helpers for containers: Gordon, AI-written Dockerfiles, and checking them
Use Docker's AI agent and coding assistants to write and fix Dockerfiles and Compose files, understand Gordon's approve-every-action model and why auto-approve (YOLO mode) is risky, and check every AI-made image with builds, scans and size and user checks.
Sign in to open the lesson
2. Containerising an AI app: model files, image size, GPU access and secrets
Package an AI service as a container without the usual mistakes: keep multi-gigabyte model weights out of the image where possible, use slim multi-stage builds, request GPUs at run time, and keep provider keys out of layers.
Sign in to open the lesson
Common questions
Is Gordon free?
Docker has usage limits that depend on your plan; check Docker's current documentation.
What about Docker Model Runner?
It's great for local development with standard models; production services usually package their own server.