docker-machine-driver-openbsd

command module
v0.0.0-...-0391242 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL