Skip to content

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

Open
cuchac wants to merge 1 commit intosjiveson:masterfrom
wpj-cz:master
Open

Need 'crossmnt' flag to allow volumes inside exported dir#41
cuchac wants to merge 1 commit intosjiveson:masterfrom
wpj-cz:master

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