#!/usr/bin/env bash
# Real demos for P209 "Docker Containers vs Virtual Machines: What's the Difference?". Run on the Mac.
#   server   your Linux server: Ubuntu 24.04 with Ubuntu's docker.io and KVM through libvirt, reached over ssh
#            (~/ce-lab-p209/ssh_config, host p209). It is a VM on the lab's ESXi host with nested virtualization on,
#            set up once by lab/setup_server.sh (two libvirt VMs: web-vm, Ubuntu 24.04 with nginx; alpine-vm, Alpine's
#            virt ISO). The terminal is a real login shell of dev there, in a pty (demo_driver.py).
#   the Mac  Docker Desktop, for its own Linux VM (one command).
set -euo pipefail
cd "$(dirname "$0")"
python3 demo_driver.py
