You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the docker run process takes more then 10 seconds to fully startup Quarkus, the extension will forcibly destroy the process. If the container, however, was started, it won't be cleaned up, leaving it running on the docker daemon.
If you use the --cidfile parameter on docker run, then at the end of the process you can check if that file exists and if so remove the container with docker rm -f {cidfile_contents}
These dangling containers also arrived with issue #17565, so I would prefer the cidfile cleanup over changing destroyForcibly to destroy, that way all issues that could arrive will never result in dangling containers.
The text was updated successfully, but these errors were encountered:
…ate normally
This is especially useful when launching a docker container because
the '--rm' flag of 'docker run' takes only if the process is terminated
normally
Fixes: quarkusio#17737
…ate normally
This is especially useful when launching a docker container because
the '--rm' flag of 'docker run' takes only if the process is terminated
normally
Fixes: quarkusio#17737
(cherry picked from commit de12100)
If the docker run process takes more then 10 seconds to fully startup Quarkus, the extension will forcibly destroy the process. If the container, however, was started, it won't be cleaned up, leaving it running on the docker daemon.
quarkus/test-framework/common/src/main/java/io/quarkus/test/common/LauncherUtil.java
Line 73 in 11607b6
If you use the
--cidfile
parameter on docker run, then at the end of the process you can check if that file exists and if so remove the container withdocker rm -f {cidfile_contents}
These dangling containers also arrived with issue #17565, so I would prefer the cidfile cleanup over changing
destroyForcibly
todestroy
, that way all issues that could arrive will never result in dangling containers.The text was updated successfully, but these errors were encountered: