mkdir /mnt/wasabi-cache lvcreate -L 100G -n wasabi-cache vg0 mkfs.ext4 /dev/vg0/wasabi-cache docker run -d -p 9000:9000 --name minio-wasabi -e "MINIO_CACHE_DRIVES=/mnt/wasabi-cache" -e "MINIO_CACHE_EXPIRY=40" \ -e "MINIO_ACCESS_KEY=AKKEYKEYKEYKEYKEY" -e "MINIO_SECRET_KEY=mysecret123123123123123" \ minio/minio gateway s3 https://s3.wasabisys.com:443 mkdir /mnt/.s3 mkdir /mnt/s3 # this is one of the default locations, the others being /etc or env vars. # if you change this location to something other than the defaults, please use # -o passwd_file=/my/path/mypasswd-s3fs # if you need multiple different passwords for different buckets, then use the alt syntax on each line BUCKET,KEY,SECRET echo AKKEYKEYKEYKEYKEY:Lzdsmysecret123123123123123 > ~/.passwd-s3fs chmod 600 ~/.passwd-s3fs s3fs mybucket /mnt/.s3 -o url=http://127.0.0.1:9000/ -o use_path_request_style mount -t ecryptfs /mnt/.s3 /mnt/s3