Skip to content

Enhance Docker container management and connection handling#59

Merged
Dumbris merged 1 commit into
mainfrom
bugfix/proper-shutdown-servers
Sep 15, 2025
Merged

Enhance Docker container management and connection handling#59
Dumbris merged 1 commit into
mainfrom
bugfix/proper-shutdown-servers

Conversation

@Dumbris

@Dumbris Dumbris commented Sep 15, 2025

Copy link
Copy Markdown
Member
  • Introduced a connecting flag in the Client struct to prevent concurrent connection attempts.
  • Added containerName field for better tracking and cleanup of Docker containers.
  • Implemented critical fixes for Docker container cleanup on connection and initialization failures.
  • Enhanced error handling and logging during reconnection attempts to avoid duplicate containers.
  • Added a method to kill Docker containers by exact name for improved cleanup accuracy.

These changes improve the robustness of Docker integration and connection management, ensuring better resource handling and observability.

- Introduced a `connecting` flag in the Client struct to prevent concurrent connection attempts.
- Added `containerName` field for better tracking and cleanup of Docker containers.
- Implemented critical fixes for Docker container cleanup on connection and initialization failures.
- Enhanced error handling and logging during reconnection attempts to avoid duplicate containers.
- Added a method to kill Docker containers by exact name for improved cleanup accuracy.

These changes improve the robustness of Docker integration and connection management, ensuring better resource handling and observability.
@Dumbris
Dumbris merged commit 918b551 into main Sep 15, 2025
33 checks passed
@Dumbris
Dumbris deleted the bugfix/proper-shutdown-servers branch September 15, 2025 17:44
rannow pushed a commit to rannow/mcpproxy-go that referenced this pull request Sep 23, 2025
…per-shutdown-servers

Enhance Docker container management and connection handling
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