container-schulung/README.md
yberion 1ac9851e48 Initial commit: Schulungsunterlagen Tag 2 + Setup-Script
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 18:50:58 +02:00

49 lines
899 B
Markdown

# Container Training — Participant Materials
Welcome! This repository contains the code examples and listings for the 3-day container training.
## How to get this repo
```bash
git clone https://git.freemind.de/yberion/container-schulung.git
cd participants
```
## Structure
```
listings/
visitcounter/
app/ ← Go application (Tag 2)
main.go
go.mod
Containerfile
docker-compose.yml
nginx/
default.conf
```
## Day 2 — Building and Running the App
```bash
cd listings/visitcounter
# Build the image
podman build -t visitcounter:latest app/
# Start the full stack
podman compose up -d
# Check it's running
curl localhost:8080
```
## Prerequisites
- Podman installed (`podman --version`)
- podman-compose installed (`podman compose version`)
- Go is **not** required — it compiles inside the container
## Questions?
Ask your trainer.