Docker show container run arguments

Docker show container run arguments
Image by marvin meyer

Sometimes you want to see exactly how a container was started, and what command line arguments were passed to , and subsequently how they were interpreted by the container runtime engine.

Emmanuel Frécon provides an excellent example of how to do exactly that:

docker inspect \
  --format "$(curl -s" \

What the above does is take the Go template from Github Gist and formats the docker inspect output to include the information relevant to the docker run command.

Collect recurring payments with Subscribie - Try Now