Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GOOS=openbsd GOARCH=amd64 go get github.com/docker/cli/cmd/docker
GOOS=openbsd GOARCH=amd64 go get github.com/docker/machine/cmd/docker-machine
doas sysctl net.inet.ip.forwarding=1
wget "https://github.com/boot2docker/boot2docker/releases/download/v18.06.0-ce/boot2docker.iso"
vmctl create disk.img -s 4.5G
doas vmctl start docker -d ./boot2docker.iso -d ./disk.img -m 1024M -L -c
# -c is for console
ssh docker@100.64.3.3
# pw is tcuser
export DOCKER_HOST=tcp://100.64.3.3
#certs are fucked
# NAT for the VMs
match out on egress from 100.64.0.0/10 to any nat-to (egress)
pass in proto udp from 100.64.0.0/10 to any port domain rdr-to 1.1.1.1 port domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment