mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-27 19:43:34 +00:00
This commit is contained in:
@@ -249,7 +249,7 @@ func dockerVolumeSpecFromCompose(serviceVolume types.ServiceVolumeConfig, volume
|
||||
}
|
||||
|
||||
if !volume.External {
|
||||
if volume.Driver != "" {
|
||||
if volume.Driver != "" || len(volume.DriverOpts) > 0 {
|
||||
spec.VolumeOptions.Driver = &mount.Driver{
|
||||
Name: volume.Driver,
|
||||
Options: volume.DriverOpts,
|
||||
|
||||
Reference in New Issue
Block a user