No description
Find a file
Frank Engel 83883e43eb quadlets: app alias=app, nginx proxy_pass auf app, sleep entfernt
- visitcounter-app.container: Network alias=app damit nginx den Upstream findet
- nginx-default.conf: proxy_pass http://app:8080 (gleich wie Compose)
- visitcounter-proxy.container: ExecStartPre sleep entfernt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 11:43:15 +02:00
listings quadlets: app alias=app, nginx proxy_pass auf app, sleep entfernt 2026-05-21 11:43:15 +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.