Closed
Description
Describe the bug
fluentd-async
should be used instead as it has existed since docker 20.04
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
Docker launches the ECS container as expected.
Current Behavior
Deprecated setting has been removed in Docker v28 and now containers relying on Fluentd Log Driver will crash
level=error time=[REDACTED] msg="Error transitioning container" error="Error response from daemon: unknown log opt 'fluentd-async-connect' for fluentd log driver" task="[REDACTED]" container="[REDACTED]" runtimeID="" nextState="CREATED"
https://docs.docker.com/engine/release-notes/28/
Reproduction Steps
Install docker-ce-28 and try to run ECS container with fluentd driver.
Possible Solution
default config to use fluentd-async
with fluentd-async-connect
left as a legacy option
Additional Information/Context
No response
CDK CLI Version
2.136.0
Framework Version
No response
Node.js Version
20
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response