-
Notifications
You must be signed in to change notification settings - Fork 301
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
Error Failed to initialize logging driver
occurred when specify logging driver awslogs
#752
Comments
Failed to initialize logging driver
occurred when specify logging driver awslogs
Failed to initialize logging driver
occurred when specify logging driver awslogsFailed to initialize logging driver
occurred when specify logging driver awslogs
Need to be AmazonLinux2? |
@kodomo898 Sorry for the delay in response. What version of the Agent are you running? I found an agent issue which seems similar: aws/amazon-ecs-agent#1230 |
@kodomo898 Are you using a custom AMI? You don't need to use Amazon Linux 2, but you do need to do some setup in order to get the credential handler working. Specifically:
See: |
@PettitWesley |
@petderek |
Summary
When ecs-clis specified ecs-params.yml / docker-compose.yml and executed, the following error occurred.
CannotStartContainerError: Error response from daemon: failed to initialize logging driver: CredentialsEndpointError: failed to load credentials caused by: RequestError: send request failed caused by: Get http://169.254.170.2/v2/credentials/ //container-id//
http://169.254.170.2/v2/ can only be used in awsvpc mode
but
I want to set the container’s PORT as random.
Description
I implemented the following command
platform: MacOS
ecs-cli compose --debug service --cluster app-staging up
Config files
The text was updated successfully, but these errors were encountered: