{"id":5709,"date":"2018-05-21T01:18:18","date_gmt":"2018-05-21T01:18:18","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=5709"},"modified":"2018-05-21T01:18:18","modified_gmt":"2018-05-21T01:18:18","slug":"reverse-docker-run-command","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/reverse-docker-run-command\/","title":{"rendered":"Reverse the docker run command"},"content":{"rendered":"<p>To see what led to a container, look at this:<\/p>\n<pre>\ndocker run --rm -v \/var\/run\/docker.sock:\/var\/run\/docker.sock     assaflavie\/runlike 2c699b11ccd2\n<\/pre>\n<p>The last parameter being the ID of the container. This shows you all of the explicit and implied arguments, although it doesn&#8217;t seem to return bind mounts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seeing what &#8220;docker run&#8221; command started a container<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[12],"tags":[173],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5709"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=5709"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/5709\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=5709"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=5709"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=5709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}