Don't validate Docker storage driver for Podman

For podman, "overlay" and "overlay2" are the same
pull/9237/head
Anders F Björklund 2020-09-13 22:28:00 +02:00
parent af5d6d060b
commit 48d44221a9
1 changed files with 3 additions and 1 deletions

View File

@ -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) {