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.

Leave a Reply

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