Skip to content

Conversation

@mikesir87
Copy link
Member

The host port republisher listens to events, specifically the container start and die events. It extracted the container ID from the event, but using a field that was unknown to be deprecated.

With Docker Engine 29+ release, the following note was in the release notes:

GET /events no longer includes the deprecated status, id, and from fields. These fields were removed in API v1.22, but still included in the response. These fields are now omitted when using API v1.52 or later.

Therefore, this PR changes the code to pull the container id from the Actor.ID field.

@mikesir87
Copy link
Member Author

cc @mathieu-benoit - this solves the problem you were running into with the MCP Gateway

@mikesir87 mikesir87 merged commit 06e667b into main Dec 5, 2025
@mikesir87 mikesir87 deleted the fix-host-republishing-event-ids branch December 5, 2025 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant