Reverse the docker run command

To see what led to a container, look at this:

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock     assaflavie/runlike 2c699b11ccd2

The last parameter being the ID of the container. This shows you all of the explicit and implied arguments, although it doesn’t seem to return bind mounts.

Want to learn something new? I send out weekly, personalized emails with articles and conference talks. Click here to see an example and subscribe.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *