Skip to content

Add support to use mountpoint-s3 as a docker volume driver using a plugin #993

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

Closed
aek opened this issue Aug 23, 2024 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@aek
Copy link

aek commented Aug 23, 2024

Tell us more about this new feature.

For those who are interested in using this project in docker projects I have created a Docker Volume Plugin in order facilitate the usage of mountpoint-s3 in Docker Compose via a driver and driver_opts.

You could find the plugin public and ready to be installed from DockerHub
https://hub.docker.com/r/aekis/docker-mount-s3

The project is also hosted on Github
https://github.com/aekis-dev/docker-mount-s3

Example usage:

name: fe4d6eca
services:
  service_name:
    image: image_name
    volumes:
    - type: volume
      source: volume_name
      target: /s3/bucket/data
  volumes:
    volume_name:
      driver: aekis/docker-mount-s3
      driver_opts:
        bucket: bucket_name
        AWS_ACCESS_KEY_ID: XXXXXXAWS_ACCESS_KEY_IDXXXXXXX
        AWS_SECRET_ACCESS_KEY: XXXXXXXXXXXXAWS_SECRET_ACCESS_KEYXXXXXXXXXXXX
        o: --allow-delete --allow-overwrite --allow-other --region=us-east-1
@aek aek added the enhancement New feature or request label Aug 23, 2024
@muddyfish
Copy link
Contributor

Hi, thank you for the feature request - that project you've written looks interesting!

It's unlikely that we will be wanting to include this in our repositories, but if there are any small features we could add to unblock your usecase, feel free to open another feature request for them.

@muddyfish muddyfish closed this as not planned Won't fix, can't repro, duplicate, stale Sep 3, 2024
@aek
Copy link
Author

aek commented Sep 3, 2024

Hi @muddyfish
Thanks for your comments, it's ok, I only wanted to showcase another usage of this project mountpoint-s3 to directly mount docker volumes using the driver I have suggested

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