-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hello,
My organization uses a Docker image and launches a container within Eclipse to compile an application within the IDE. When this Docker container executes in Eclipse, the container halts during the project's compilation with Error Code 137. This error does not occur when we launch the Docker image and container outside of Eclipse (i.e we can compile the project outside of Eclipse with no issues).
This was observed with the following environment:
Docker Desktop v4.44.1 using WSL2 v2.5.10.0.
Eclipse 2024-12 (4.34.0)
C/C++ Docker Container Launch Support v11.6.1.202406241230
Docker Tooling v5.17.0.202411262017
We have used previous versions of Eclipse and Docker Tooling and we have never encountered this issue before.
We have ruled out the following:
- Corruption/Issue with the Docker image. We have tried rebuilding the Docker image and this does not resolve the issue.
- CPU and RAM usage of the Docker image/container were monitored during the container's execution and there was no excessive usage.
- Eclipse's RAM and CPU usage were monitored during compilation; RAM usage did not exceed its normal operating usage. Same for the CPU usage.
- Looking into Eclipse's C/C++ Build configurations, there is no evidence of the Docker image being launched with limited RAM or CPU restrictions which could potentially starve the container and force it to be killed.
- From the Docker logs, we noticed that a kill signal was sent to the Docker Daemon to terminate the container, however it's not clear what the root cause is from the logs.
Could this be a bug within the Docker Tooling logic and some issue with the interface to Docker?
Let me know if you need any additional information.
Thanks,
David