Don't validate Docker storage driver for Podman
For podman, "overlay" and "overlay2" are the samepull/9237/head
parent
af5d6d060b
commit
48d44221a9
|
@ -252,7 +252,9 @@ func provisionWithDriver(cmd *cobra.Command, ds registry.DriverState, existing *
|
|||
|
||||
validateFlags(cmd, driverName)
|
||||
validateUser(driverName)
|
||||
validateDockerStorageDriver(driverName)
|
||||
if driverName == oci.Docker {
|
||||
validateDockerStorageDriver(driverName)
|
||||
}
|
||||
|
||||
// Download & update the driver, even in --download-only mode
|
||||
if !viper.GetBool(dryRun) {
|
||||
|
|
Loading…
Reference in New Issue