Minimal Ubuntu 24.04 container image with:
labuser androotcredentials set- SSH server enabled
./up.ps1./down.ps1Default credentials:
- User:
lab/ Password:lab - Root:
root/ Password:root
Port mapping:
ubuntu-base:127.0.0.1:2222
Examples:
ssh lab@127.0.0.1 -p 2222
ssh root@127.0.0.1 -p 2222docker build -f container/Dockerfile -t ubuntu-base:local container
docker run --privileged --tmpfs /run --tmpfs /run/lock \
-p 2222:22 \
-v /sys/fs/cgroup:/sys/fs/cgroup:rw \
ubuntu-base:localThe workflow in .github/workflows/publish-ghcr.yml builds the image from container/Dockerfile
and pushes ghcr.io/<owner>/<repo>:latest plus a SHA tag on every push to main.