0xricksanchez / like-dbg

Fully dockerized Linux kernel debugging environment
MIT License
732 stars 58 forks source link

Don't leave zombie containers alive in failed building runs #55

Closed 0xricksanchez closed 2 years ago

0xricksanchez commented 2 years ago

Describe the bug

When e.g. the kernel builder fails to finish properly, either due to a bug in the code or incompatible compiling options the container is not shutdown properly. This results in yet another error in a consecutive run since the now zombie container hogs resources, in particular the port binds.

Expected behavior Properly shut down any containers on a failed run