Skip to content

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

@P1119r1m

Description

@P1119r1m

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions