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

Need 'crossmnt' flag to allow volumes inside exported dir #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cuchac
Copy link

@cuchac cuchac commented Jan 30, 2020

Hello,

to support docker volumes inside exported directory, there is necessary to add crossmnt flag.

Example docker-compose.yml

version: '3.3'

services:
 nfs:
  image: itsthenetwork/nfs-server-alpine:latest
  privileged: true
  volumes:
    - ./export:/export
    - type: volume
      source: somevolume
      target: /export/somevolume
  environment:
    - SHARED_DIRECTORY=/export

volumes:
  somevolume: ~

@colearendt
Copy link

Related to #23 , which allows setting options yourself more easily

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

Successfully merging this pull request may close these issues.

2 participants