boot2podman.github.io

2019-10-02 afbjorklund

More Drivers

Current Drivers

Currently podman-machine ships with the following drivers:

These are built-in, and don’t require any external programs…

Future Drivers

Not everyone likes VirtualBox or QEMU, so add more drivers:

With the plugin functionality, they can be added externally.

Difference

Mostly the podman-machine drivers are the same as the ones
for docker-machine, except for the url and the swarm support.

@@ -22,5 +22,2 @@
 	StorePath      string
-	SwarmMaster    bool
-	SwarmHost      string
-	SwarmDiscovery string
 }
@@ -79,9 +76,2 @@
 }
-
-// SetSwarmConfigFromFlags configures the driver for swarm
-func (d *BaseDriver) SetSwarmConfigFromFlags(flags DriverOptions) {
-	d.SwarmMaster = flags.Bool("swarm-master")
-	d.SwarmHost = flags.String("swarm-host")
-	d.SwarmDiscovery = flags.String("swarm-discovery")
-}

So it should be rather straight-forward to fork them for podman.
Go makes it easy to cross-compile, use containers for the rest…