Skip to content

Glossary: Go in Practice

Signal; SIGTERM

Also written: signal, SIGTERM, os.Interrupt, syscall, signal.NotifyContext

A signal is a short message the operating system sends a program. SIGTERM is the one that asks it to finish and exit, sent by `docker stop`, and `signal.NotifyContext` gives a context canceled on Ctrl+C or SIGTERM.

Where the book teaches it

Related terms

killdocker stopGraceful shutdown