Tony Brouwer thinks this is interesting: PID=$(docker inspect --format \ 3c4f916619a5) From 6. Exploring Dockert from Docker: Up & Running by Karl Matthias, Sean P. Kane Publisher: O'Reilly Media, Inc. Released: June 2015 Note Not quite right. Missing format parameter. Try: docker inspect -f '{{ .State.Pid }}' 314b5f906aa7 Share this highlight http://www.safaribooksonline.com/a/docker-up/9843741/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Have an account? Sign in. Minimise Unlock the rest of Docker: Up & Running and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.