Last active
March 27, 2018 07:07
-
-
Save tamakiii/4573b1c7f63d6e8974a3e3d3bd3dc778 to your computer and use it in GitHub Desktop.
ecs-cli troubleshoot (v1.1.0 macOS)
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
read -s AWS_ACCESS_KEY_ID | |
read -s AWS_SECRET_ACCESS_KEY | |
# $ ecs-cli configure --region us-west-2 --access-key $AWS_ACCESS_KEY_ID --secret-key $AWS_SECRET_ACCESS_KEY --cluster ecs-cli-demo | |
# This won't create `~/.ecs/credentials` | |
ecs-cli configure profile --profile-name profile_name --access-key $AWS_ACCESS_KEY_ID --secret-key $AWS_SECRET_ACCESS_KEY | |
# $ ecs-cli compose up --file docker-compose.dev.yml | |
# `ERRO[0000] flag provided but not defined: -file` | |
ecs-cli compose --file docker-compose.dev.yml up ... | |
# $ ecs-cli compose up --region ap-northeast | |
# typo: `ap-northeast-1` | |
# | |
# ERRO[0000] Error listing tasks | |
# error="RequestError: send request failed\ncaused by: Post https://ecs.ap-northeast.amazonaws.com/: dial tcp: lookup ecs.ap-northeast.amazonaws.com on 192.168.0.18:53: no such host" request={ | |
# Cluster: "mycluster", | |
# DesiredStatus: "RUNNING", | |
# Family: "my" | |
# } | |
# FATA[0000] RequestError: send request failed | |
# caused by: Post https://ecs.ap-northeast.amazonaws.com/: dial tcp: lookup ecs.ap-northeast.amazonaws.com on 192.168.0.18:53: no such host | |
ecs-cli compose up --region ap-northeast-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment