When I press Control C to kill the library/mysql:5.7.20 container, nothing happens.
This is by design (mysqld doesn't respond to SIGINT). Try Ctrl+ instead.
duplicate of https://github.com/docker-library/mysql/issues/47
@tianon Huh, I didn't know that before.
Curious, which interprocess signal does Control+/ represent (in GNU/Linux)?
This doesn't appear to be a very portable hotkey combination. Is Control+_ equivalent? Which signal would that be?
My comment above was slightly wrong; it should actually be Ctrl+\ (not /), which sends SIGQUIT: https://stackoverflow.com/a/19248775
Most helpful comment
My comment above was slightly wrong; it should actually be
Ctrl+\(not /), which sendsSIGQUIT: https://stackoverflow.com/a/19248775