🐳🐡 docker-machine driver plugin for vmm (native OpenBSD hypervisor)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
driver My god it works! Aug 11, 2018
ssh stop hardcoding docker user in ssh-copy-id Aug 11, 2018
vmm My god it works! Aug 11, 2018
.gitignore WIP Aug 11, 2018
LICENSE Initial commit Aug 11, 2018
README.md documentation tweak Aug 11, 2018
main.go WIP Aug 11, 2018

README.md

docker-machine-driver-openbsd

🐡 docker-machine driver plugin for vmm (native OpenBSD hypervisor)

Work in progress.

Caveats

  • Doesn't work on my machine on 6.3 after installing latest syspatch
  • Container host is insecure on multiuser system
  • ISO and disk paths hardcoded. Fix these in the source for now.
  • vmd won't start without a disk; we don't need one.

Hacking

Edit /etc/pf.conf

# NAT for the VMs
match out on egress from 100.64.0.0/10 to any nat-to (egress)
# Pass VM DNS to Cloudfront
pass in proto udp from 100.64.0.0/10 to any port domain rdr-to 1.1.1.1 port domain

Enable pf rules

doas pfctl -f /etc/pf.conf

Enable vmd

doas rcctl enable vmd

Build the driver

go get -u github.com/WIZARDISHUNGRY/docker-machine-driver-openbsd

Try to build a docker-machine

docker-machine create -d openbsd default