Skip to content

ECS CDK: fluentd-async-connect is deprecated since Docker 20.04 #34055

Closed
@michaelxuao

Description

@michaelxuao

Describe the bug

moby/moby#46114

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecsRelated to Amazon Elastic ContainerbugThis issue is a bug.effort/mediumMedium work item – several days of effortp1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions