O'Reilly logo
  • Tony Brouwer thinks this is interesting:

PID=$(docker inspect --format \ 3c4f916619a5)

From

Cover of Docker: Up & Running

Note

Not quite right. Missing format parameter. Try:

docker inspect -f '{{ .State.Pid }}' 314b5f906aa7