xueshanf/awscli
https://github.com/xueshanf/docker-awscli
https://hub.docker.com/r/xueshanf/awscli
- DockerhubでのDL数 10M超え
- bashが使える ( つまり wait-for-it.sh も使える )
$ docker run xueshanf/awscli aws
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: too few arguments
mesosphere/aws-cli
- DockerhubでのDL数 10M超え
- bashが使えず sh しか使えない ( つまり wait-for-it.sh が使えない )
- docker aws cli でGoogle検索したら1位で出てきた
- あんまメンテされてなさそう
- entrypoint が aws コマンドなので aws って打たずに使える
$ docker run mesosphere/aws-cli
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: too few arguments
localstack
https://github.com/localstack/localstack
https://hub.docker.com/r/localstack/localstack/
- AWSサーバーをlocalに構築するためのもので、awsコマンド実行用というわけではない
- 管理されてそうで安心感がある (たぶん)
- AWSサーバー起動用のイメージだが aws コマンドも実行できる
- エントリーポイントが AWS サーバー起動なので、これを実行しないようにして aws コマンドを使う必要がある
$ docker run --entrypoint= localstack/localstack aws
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:
aws help
aws <command> help
aws <command> <subcommand> help
aws: error: too few arguments
ちなみに wait-for-it.sh とは
dockerおすすめスクリプト。
portを通して 他のコンテナの起動を待ったりできるっぽい。
最低限 bash が必要。
Original by Github issue
チャットメンバー募集
何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。