-
-
Save apeckham/7d13459a58c676e91ed304b1ea3d642d to your computer and use it in GitHub Desktop.
run minio under docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run -e MINIO_ACCESS_KEY=minio -e MINIO_SECRET_KEY=miniostorage -p 9000:9000 minio/minio server /export | |
| cat >>~/.aws/config | |
| [profile minio-play] | |
| region = us-east-1 | |
| s3 = | |
| signature_version = s3v4 | |
| cat >>~/.aws/credentials | |
| [minio-play] | |
| aws_access_key_id = minio | |
| aws_secret_access_key = miniostorage | |
| aws --endpoint-url http://localhost:9000 --profile minio-play s3 ls | |
| aws --endpoint-url http://localhost:9000 --profile minio-play s3 cp test.txt s3://docker/test.txt | |
| # Doesn't support object tagging | |
| aws --endpoint-url http://localhost:9000 --profile minio-play s3api get-object-tagging --bucket docker --key test.txt | |
| Unable to parse response (syntax error: line 1, column 0), invalid XML received: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment