mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 06:09:17 +00:00
This commit is contained in:
1 parent
dfe12ca644
commit
6373d4097c
2 files changed
+109
-1
No files matched your search
@@ -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