Skip to content

Making experimental NFS share mount options configurable #207

Open
@domtes

Description

@domtes

I used this driver flawlessly on my macOS High Sierra for setting up my development environment.
Using automatic NFS share feature is very useful.

When using local volumes for touch reloaded source files I noticed a ~20s lag between host and container. That was an issue with my system that needed me to change some mount options.

The experimental NFS support feature automatically generate a script in /var/lib/boot2docker/bootlocal.sh that starts the nfs-client and then mount the exported share.

Would you please consider making those mount options overridable? A command line option could be added to pass in overrides like the following example:

$ docker-machine create \
    --driver=xhyve \
    --xhyve-experimental-nfs-share \
    --xhyve-experimental-nfs-share-mount-options="async,noatime,actimeo=1,nolock,vers=3,udp" \
    my-machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions