I think this is probably the fastest. If you place multiple directories under a directory, it will become a bucket.
docker-compose.yml
  s3:
    image: minio/minio
    volumes:
      - "./data/s3:/s3"
    ports:
      - "9000:9000"
    environment:
      MINIO_ACCESS_KEY: hoge
      MINIO_SECRET_KEY: super-hoge
    entrypoint: sh
    command: -c "mkdir -p /s3/bucket-test && /usr/bin/minio server /s3"
https://github.com/minio/minio/issues/4769
Recommended Posts