The CAPT playground can be run as a standalone binary or via Docker.
capt-playground -h
docker run -it --rm --network host -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock -v /var/run/libvirt/libvirt-sock-ro:/var/run/libvirt/libvirt-sock-ro -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock --name capt-playground ghcr.io/jacobweinstock/capt-playground
capt-playground -h
KinD on Ubuntu has a known issue with DNS resolution in pod containers. This affect the Download of HookOS in the Tink stack helm deployment. There are a few known workarounds. The recommendation for the CAPT playground is to add DNS nameservers to Docker's daemon.json
file. This can be done by adding the following to /etc/docker/daemon.json
:
{
"dns": ["1.1.1.1"]
}
Followed by restarting Docker:
sudo systemctl restart docker