No description
Find a file
Frank Engel 86f69ec823 tag3: Quadlet-Dateien für VisitCounter freigegeben
- listings/visitcounter/quadlets/ mit 5 Unit-Dateien hinzugefügt
  (app, db, proxy .container + .network + .volume)
- wird in Exercise 18 verwendet

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 10:51:42 +02:00
listings tag3: Quadlet-Dateien für VisitCounter freigegeben 2026-05-21 10:51:42 +02:00
setup Tag 2 Materialien: Exercises ex05-ex15 + Ubuntu 24.04 Setup 2026-05-19 22:04:17 +02:00
workspace workspace/ als gitignored Arbeitsverzeichnis für Teilnehmer 2026-05-18 18:59:29 +02:00
.gitignore workspace/ als gitignored Arbeitsverzeichnis für Teilnehmer 2026-05-18 18:59:29 +02:00
README.md workspace/ als gitignored Arbeitsverzeichnis für Teilnehmer 2026-05-18 18:59:29 +02:00

Container Training — Participant Materials

Welcome! This repository contains the code examples and listings for the 3-day container training.

How to get this repo

git clone https://git.freemind.de/yberion/container-schulung.git
cd container-schulung

Structure

listings/
  visitcounter/
    app/            ← Go application (Tag 2)
      main.go
      go.mod
      Containerfile
    docker-compose.yml
    nginx/
      default.conf
workspace/          ← dein Arbeitsverzeichnis (gitignored)
setup/
  setup.sh          ← Debian 12 Setup-Script

Arbeiten im Kurs

Alle eigenen Dateien, Übungen und Experimente bitte in workspace/ ablegen — das Verzeichnis ist gitignored, deine Änderungen stören den git status nicht und du kannst jederzeit git pull machen ohne Konflikte.

Day 2 — Building and Running the App

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.