Skip to content

Instantly share code, notes, and snippets.

@apeckham
Created February 1, 2017 00:22
Show Gist options
  • Select an option

  • Save apeckham/7d13459a58c676e91ed304b1ea3d642d to your computer and use it in GitHub Desktop.

Select an option

Save apeckham/7d13459a58c676e91ed304b1ea3d642d to your computer and use it in GitHub Desktop.
run minio under docker
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