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

Using Docker command not able to use multiple account information. #160

Closed
kkashyap1707 opened this issue May 24, 2021 · 1 comment
Closed

Comments

@kkashyap1707
Copy link

Using Docker command not able to use multiple account information.

docker run -d -p 3000:3000 -e AWS_ACCESS_KEY_ID="*********************" -e AWS_SECRET_ACCESS_KEY="*******************" -e AWS_DEFAULT_REGION="us-east-1" --name komiser_h mlabouardy/komiser:latest --multiple

In this case, the command executed successfully but it didn't display the multiple account info while using komiser start --multiple --port 3000 it works.

Please suggest.

@mlabouardy
Copy link
Collaborator

You need to create a credentials file with multiple profiles, see here

Then, you can pass the file to the container with the following command:

docker run -d -p 3400:3000 -v $PWD/credentials:/root/.aws/credentials mlabouardy/komiser --multiple

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