Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bucket cli command (s3) creates additional root bucket #12

Closed
volchnik opened this issue Oct 10, 2018 · 2 comments
Closed

Make bucket cli command (s3) creates additional root bucket #12

volchnik opened this issue Oct 10, 2018 · 2 comments

Comments

@volchnik
Copy link

volchnik commented Oct 10, 2018

Hello
In my docker-compose.yml, I have:

...
  aws-cli:
      image: garland/aws-cli-docker
      environment:
      - AWS_ACCESS_KEY_ID=
      - AWS_SECRET_ACCESS_KEY=
      - AWS_DEFAULT_REGION=eu-west-1
      links:
      - s3-service
      - sqs-service
      command: >
        sh -c "aws --endpoint-url=http://s3-service:4569 s3 mb s3://bucket1 &&
        aws --endpoint-url=http://s3-service:4569 s3 mb s3://bucket2"

When I'm checking created buckets with:
aws s3 ls s3://
got:

s3-service

and then
aws s3 ls s3://s3-service/

bucket1
bucket2

@sekka1
Copy link
Owner

sekka1 commented Oct 10, 2018

Weird, it would seem you are using it correctly per these docs: https://docs.aws.amazon.com/cli/latest/reference/s3/mb.html

What did the command output say?

@sekka1
Copy link
Owner

sekka1 commented Oct 18, 2018

Closing this since there has been no response. Feel free to open it back up if there are any updates.

@sekka1 sekka1 closed this as completed Oct 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants