docker-archive / compose-cli

Easily run your Compose application to the cloud with compose-cli
Apache License 2.0
957 stars 255 forks source link

do not forward signals to docker CLI #2267

Closed ndeloof closed 9 months ago

ndeloof commented 9 months ago

What I did as a user hit Ctrl+C in a terminal, shell sends signal to all processes in the process group, so there's no need to forward signal to docker CLI when it is wrapped by cloud integrations. This has the side effect CLI receives duplicated signals

with a comparable architecture, docker/cli does NOT forward signals to CLI plugins for this exact reason