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

Support for mounting external volume to containers #18

Open
dcvan24 opened this issue Apr 4, 2018 · 1 comment
Open

Support for mounting external volume to containers #18

dcvan24 opened this issue Apr 4, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request to-do to-do items

Comments

@dcvan24
Copy link
Collaborator

dcvan24 commented Apr 4, 2018

Marathon supports mounting external volumes to containers but it is still in beta. The driver used for the volume mounting in DC/OS is Rex-Ray. It requires for further investigation to find out how to integrate this functionality into PIVOT, in order to handle shared file systems such as NFS, WebDAV among others.

@dcvan24 dcvan24 added enhancement New feature or request to-do to-do items labels Apr 4, 2018
@dcvan24 dcvan24 self-assigned this Apr 4, 2018
@dcvan24
Copy link
Collaborator Author

dcvan24 commented Apr 9, 2018

Just got Rex-Ray running and successfully mounted volumes in AWS EBS/S3/GCE Persistent Disk (PD) to Docker containers. Rex-Ray has developed Docker plugins compliant to Container Storage Interface (CSI) for mounting external volumes, which makes the volume mounting more convenient.

However, there are some limitations on different types of volumes, most of which are imposed by the storage providers:

  1. AWS EBS and GCE PD are limited to being mounted to VM instances running on AWS and GCE correspondingly, but cannot be mounted to any VM running elsewhere.

  2. S3 can be mounted to any VM regardless of where the VM is provisioned.

  3. It is still unclear to me how to use the Docker plugin for GCE PD. The example in the official docs does not work.

  4. Rex-Ray does not support Google Cloud Storage yet.

In summary, Rex-Ray has a better support for AWS than GCE. It is great that S3 buckets can be mounted anywhere. I will try AWS EFS and other on-premise storage systems recently.

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

No branches or pull requests

1 participant