installer: enables setting docker storage driver and engine install url
@@ -36,6 +36,8 @@ type DockerMachineConfig struct {
DriverOpts *DriverOpts `yaml:"driver,omitempty"`
DockerHubMirror string `yaml:"docker-hub-mirror,omitempty"`
DockerFlags []string `yaml:"docker-flags,omitempty"`
+ DockerStorageDriver string `yaml:"docker-storage-driver,omitempty"`
+ DockerInstallURL string `yaml:"docker-install-url,omitempty"`
}
type DriverOpts struct {
@@ -98,6 +100,8 @@ func (d *DockerMachine) CreateMachine(driverOpts map[string]interface{}) (*docke
Params: mergedOpts,
RegistryMirror: d.config.DockerHubMirror,
ArbitraryFlags: d.config.DockerFlags,
+ DockerEngineStorageDriver: d.config.DockerStorageDriver,
+ DockerEngineInstallURL: d.config.DockerInstallURL,
})
if err != nil {
return nil, err
