Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Cleanup leftover docker containers on main process kill #191

Open
mcandre opened this issue May 5, 2020 · 0 comments
Open

Cleanup leftover docker containers on main process kill #191

mcandre opened this issue May 5, 2020 · 0 comments

Comments

@mcandre
Copy link

mcandre commented May 5, 2020

When the user cancels xgo such as with Control+C / SIGINT, then xgo leaves behind the Docker containers still running, which periodically spill logs onto the console.

Please setup some defers so that when the main process terminates, any Docker containers spawned by xgo are automatically cleaned up before handing control back to the user.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant