Docker-Volume-S3 is our implementation of an S3 driver for Docker. The operation is done via Systemd service or native as a Docker plugin. To make updatability easier, we recommend installing and configuration with the help of our Ansible Playbook or via the Package Manager and including our repository.
The executable “docker-volume-s3” expects the required configuration via environment variables.
LOG_LEVEL=1 S3_CONF_ACCESSKEY=<s3accesskey> S3_CONF_SECRETKEY=<s3secret> S3_CONF_REGION=eu-central-1 S3_CONF_OPTIONS=allow_other,nonempty,use_path_request_style S3_CONF_ENDPOINT=<s3endpoint>
If e.g. Rexray was used as S3 volume provider before, the buckets each contain a “data” subdirectory in which the actual data is stored. where the actual data is stored. To take this into account, this directory can be specified with the following configuration can be specified:
Furthermore, the following default settings can be changed:
Afterwards, the service can be executed via “docker-volume-s3”.