Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no way to add "--mount" into parameters of Docker container #121

Open
P1119r1m opened this issue Jan 17, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@P1119r1m
Copy link

What feature do you want to see added?

I haven't found any option which allows user, for example, to mount (see "--mount" argument) NFS share like this:

docker run \
  --rm \
  --mount 'type=volume,volume-driver=local,volume-opt=type=nfs,volume-opt=device=127.0.0.1:/home/opt,dst=/home/opt,volume-opt=o=addr=127.0.0.1' \
  bash \
  bash -c "ls -la /home/opt"

Upstream changes

No response

@P1119r1m P1119r1m added the enhancement New feature or request label Jan 17, 2023
@P1119r1m
Copy link
Author

Dear all,

I would appreciate if you could suggest any way to mount NFS share using "docker-swarm-plugin" if this option is already implemented.

Thank you!

@markixy
Copy link

markixy commented Nov 14, 2023

I also need to use nfs. I first mount nfs to the host, and then configure the Host Binds in the Docker Agent templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants