import ( "github.com/docker/machine/libmachine/drivers" ) driver := drivers.NewDriver("virtualbox", "/var/lib/docker/machine/machines/my-machine") // Set driver options driver.SetConfigFromFlags(dockerdriver.DriverOptions{ Debug: true, InsecureTLS: true, })This example demonstrates how to set driver options using the DriverOptions Bool in the SetConfigFromFlags() function. The driver is created using the NewDriver() function with the "virtualbox" and "/var/lib/docker/machine/machines/my-machine" arguments. The Debug and InsecureTLS options are set using the DriverOptions struct.