Examples
arm-lab
One ARM64 web container. hardware.arch: arm64 pins the machine's CPU architecture: the Compose platform, the Vagrant box architecture and the Kubernetes node selector all follow it, so the lab runs the same on an Apple Silicon or a Graviton host. The cloud targets (x86-64 only, for now) refuse an arm64 machine rather than run it on the wrong architecture.
The example's folder, with the files its spec names: examples/arm-lab.
version: 1
name: arm-lab
networks:
lab: { cidr: 10.60.0.0/24 }
machines:
web:
networks: { lab: 10 }
hardware: { arch: arm64 }
privileged: true
read_only: true
tmpfs: [/run, /var/cache/nginx]
shm_size: 128m
dns:
servers: [10.60.0.2]
search: [arm.lab]
domain: arm.lab
ports: { web: { port: 80, protocol: http, publish: 8085 } }
app: { image: nginx:1.27 }
checks:
- { script: checks/web-answers.sh, wait: 60 } # its service may still be starting
Targets
docker, hosted, docker-vm, kubernetes. See targets for what each means.
Checks
The spec's own:
script: checks/web-answers.sh
Plus the checks Isoloom derives from the machines' ports and the reach rules. See checks.