Suraj Deshmukh

Blog

containers, programming, golang, hacks, kubernetes, productivity, books

Exec in container environment

The correct way to use exec and the signal passing.

Suraj Deshmukh

3-Minute Read

If you use exec in your container script, then the container or Kubernetes pod might exit after the command that is exec-ed into has exited. But if that’s what you wanted, then it’s okay. This blog tries to explain how to pass the signals to the applications, how they work differently when invoked uniquely and what to do if the application does handle them.

Recent Posts

Categories

About

I am a Senior Software Engineer at Microsoft, working on various tooling around container technology like Docker, Kubernetes, etc.