-
-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Describe the bug
If you define a volume and put in the options to mount an nfs volume they are agnored and the volume is created with no options.
i.e.
volume:
somemount:/somemountincontainer
~
volumes:
somemount:
driver_opts:
type: "nfs"
o: "addr=ipaddress,nolock,soft"
device: ":/nfslocation like /mnt/mystuff"
If you do this in compose then docker compose up -d and inspect the created volume you see the driver opts and it works as an nfs mount.
You uc deploy the exact same yaml file and you docker inspect the created volume and the options are empty and it's just an empty local volume, not an nfs mount.
Expected behavior
uc deploy should give the same result as running docker compose up -d with the same compose volume data, it should respect driver opts and create a functioning nfs volume just like straight docker does.
Environment:
-
Uncloud versions: the latest one
-
OS version (
uname -a): ubuntu 24.04- Client (control node):
- Server:
Additional context