Just occassionally, you have to exec
into a docker
container in order to troubleshoot whatever app you're running.
A good image won't have unnecessary tools installed though, so things like ps
tend to be missing.
Whilst you can install these with apt
I can never remember the package name for ps
so this snippet exists so that I don't have to
apt-get install procps
apt-get update
apt-get install procps
ps