diff --git a/README.md b/README.md index 1686d51..4018414 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,62 @@ This command takes the raw Docker JSON and visualizes it in various ways. For image information, output can be formatted as [Graphviz](http://www.graphviz.org) or as a tree in the terminal. +For container information, only Graphviz output has been implemented. + +# Examples + +## Containers + +Currently, containers are visualized with labeled lines for links. Containers that aren't running are greyed out. + +![](sample/containers.png "Container") + +## Images + +Image info is visualized with lines indicating parent images: + +![](sample/images.png "Image") + +Or as a tree in the terminal: + +``` +└─511136ea3c5a Virtual Size: 0.0 B + |─f10ebce2c0e1 Virtual Size: 103.7 MB + | └─82cdea7ab5b5 Virtual Size: 103.9 MB + | └─5dbd9cb5a02f Virtual Size: 103.9 MB + | └─74fe38d11401 Virtual Size: 209.6 MB Tags: ubuntu:12.04, ubuntu:precise + |─ef519c9ee91a Virtual Size: 100.9 MB + | └─07302703becc Virtual Size: 101.2 MB + | └─cf8dc907452c Virtual Size: 101.2 MB + | └─a7cf8ae4e998 Virtual Size: 171.3 MB Tags: ubuntu:12.10, ubuntu:quantal + | |─e18d8001204e Virtual Size: 171.3 MB + | | └─d0525208a46c Virtual Size: 171.3 MB + | | └─59dac4bae93b Virtual Size: 242.5 MB + | | └─89541b3b35f2 Virtual Size: 511.8 MB + | | └─7dac4e98548e Virtual Size: 511.8 MB + | | └─341d0cc3fac8 Virtual Size: 511.8 MB + | | └─2f96171d2098 Virtual Size: 511.8 MB + | | └─67b8b7262a67 Virtual Size: 513.7 MB + | | └─0fe9a2bc50fe Virtual Size: 513.7 MB + | | └─8c32832f07ba Virtual Size: 513.7 MB + | | └─cc4e1358bc80 Virtual Size: 513.7 MB + | | └─5c0d04fba9df Virtual Size: 513.7 MB Tags: nate/mongodb:latest + | └─398d592f2009 Virtual Size: 242.2 MB + | └─0cd8e7f50270 Virtual Size: 243.6 MB + | └─594b6f8e6f92 Virtual Size: 243.6 MB + | └─f832a63e87a4 Virtual Size: 243.6 MB Tags: redis:latest + └─02dae1c13f51 Virtual Size: 98.3 MB + └─e7206bfc66aa Virtual Size: 98.5 MB + └─cb12405ee8fa Virtual Size: 98.5 MB + └─316b678ddf48 Virtual Size: 169.4 MB Tags: ubuntu:13.04, ubuntu:raring +``` + # Running Currently, this only works when the remote API is listening on TCP. Soon, the Docker command line will allow dumping the image JSON. ``` -$ curl -s http://localhost:4243/images/json?all=1 | ./dockviz images -d > images.dot +$ curl -s http://localhost:4243/images/json?all=1 | ./dockviz images --dot | dot -Tpng -o images.png ``` # Download diff --git a/sample/containers.dot b/sample/containers.dot new file mode 100644 index 0000000..022d816 --- /dev/null +++ b/sample/containers.dot @@ -0,0 +1,7 @@ +digraph docker { + "app2" [label="app2\n878602c44611",shape=box,fillcolor="lightgrey",style="filled,rounded"]; + "app1" [label="app1\n6a2fa6a3c2d4",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; + "redis" -> "app1" [label = " db" ] + "redis" -> "app2" [label = " db" ] + "redis" [label="redis\n5d7e818a4ea3",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; +} diff --git a/sample/containers.json b/sample/containers.json index a29fdd3..0183030 100644 --- a/sample/containers.json +++ b/sample/containers.json @@ -3,7 +3,7 @@ "Status": "Exited (0) 9 seconds ago", "Ports": [], "Names": [ - "/application2" + "/app2" ], "Image": "ubuntu:12.10", "Id": "878602c44611115d52118edeb768fc62de8cfed8c3bdb8c5cd2e149cb1c20afa", @@ -14,7 +14,7 @@ "Status": "Up 2 minutes", "Ports": [], "Names": [ - "/application" + "/app1" ], "Image": "ubuntu:12.10", "Id": "6a2fa6a3c2d43738a1b850a17b3da212970efce83d119da2707177d1e506567f", @@ -30,8 +30,8 @@ } ], "Names": [ - "/application/db", - "/application2/db", + "/app1/db", + "/app2/db", "/redis" ], "Image": "redis:latest", diff --git a/sample/containers.png b/sample/containers.png new file mode 100644 index 0000000..3270bcc Binary files /dev/null and b/sample/containers.png differ diff --git a/sample/images.dot b/sample/images.dot new file mode 100644 index 0000000..c3e4889 --- /dev/null +++ b/sample/images.dot @@ -0,0 +1,37 @@ +digraph docker { + "0fe9a2bc50fe" -> "8c32832f07ba" + "cc4e1358bc80" -> "5c0d04fba9df" + "5c0d04fba9df" [label="5c0d04fba9df\nnate/mongodb:latest",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; + "67b8b7262a67" -> "0fe9a2bc50fe" + "2f96171d2098" -> "67b8b7262a67" + "8c32832f07ba" -> "cc4e1358bc80" + "89541b3b35f2" -> "7dac4e98548e" + "341d0cc3fac8" -> "2f96171d2098" + "7dac4e98548e" -> "341d0cc3fac8" + "59dac4bae93b" -> "89541b3b35f2" + "d0525208a46c" -> "59dac4bae93b" + "e18d8001204e" -> "d0525208a46c" + "a7cf8ae4e998" -> "e18d8001204e" + "0cd8e7f50270" -> "594b6f8e6f92" + "594b6f8e6f92" -> "f832a63e87a4" + "f832a63e87a4" [label="f832a63e87a4\nredis:latest",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; + "398d592f2009" -> "0cd8e7f50270" + "a7cf8ae4e998" -> "398d592f2009" + "5dbd9cb5a02f" -> "74fe38d11401" + "74fe38d11401" [label="74fe38d11401\nubuntu:12.04\nubuntu:precise",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; + "82cdea7ab5b5" -> "5dbd9cb5a02f" + "f10ebce2c0e1" -> "82cdea7ab5b5" + "511136ea3c5a" -> "f10ebce2c0e1" + "cf8dc907452c" -> "a7cf8ae4e998" + "a7cf8ae4e998" [label="a7cf8ae4e998\nubuntu:12.10\nubuntu:quantal",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; + "ef519c9ee91a" -> "07302703becc" + "07302703becc" -> "cf8dc907452c" + "511136ea3c5a" -> "ef519c9ee91a" + "cb12405ee8fa" -> "316b678ddf48" + "316b678ddf48" [label="316b678ddf48\nubuntu:13.04\nubuntu:raring",shape=box,fillcolor="paleturquoise",style="filled,rounded"]; + "e7206bfc66aa" -> "cb12405ee8fa" + "02dae1c13f51" -> "e7206bfc66aa" + "511136ea3c5a" -> "02dae1c13f51" + base -> "511136ea3c5a" [style=invis] + base [style=invisible] +} diff --git a/sample/images.json b/sample/images.json index 3547ac8..a2be8a6 100644 --- a/sample/images.json +++ b/sample/images.json @@ -1,718 +1,30 @@ -[ - { - "VirtualSize": 759941521, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "a075c41241cf143fbcbbaf953f8fac77e1075bff43df0696906dd5097e59dd1e", - "Id": "92e670eececa25973642e415165677991ca939e5ac5c8582e36fd8bf872e43c8", - "Created": 1395425912 - }, - { - "VirtualSize": 759941521, - "Size": 0, - "RepoTags": [ - "dronebuild:latest" - ], - "ParentId": "92e670eececa25973642e415165677991ca939e5ac5c8582e36fd8bf872e43c8", - "Id": "95146c3f72048117c9ac9b58ea6832c4f16d5a89fbde4c3ecb65053dfd613813", - "Created": 1395425912 - }, - { - "VirtualSize": 759941521, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "91169cf38bf018a72978e5e6199854eac49f7fb06d84ad5ea6747843da8527b8", - "Id": "f0e903c9a91dcc5b6510475ff0466ecd488a354d5a907a270d99276b236a71d7", - "Created": 1395425911 - }, - { - "VirtualSize": 759941521, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "f0e903c9a91dcc5b6510475ff0466ecd488a354d5a907a270d99276b236a71d7", - "Id": "a075c41241cf143fbcbbaf953f8fac77e1075bff43df0696906dd5097e59dd1e", - "Created": 1395425911 - }, - { - "VirtualSize": 759941521, - "Size": 208824900, - "RepoTags": [ - ":" - ], - "ParentId": "1c37e1337e866ba8a57a7961d1f6231c22cde7849e889dfcbd1a58b37803c2fb", - "Id": "91169cf38bf018a72978e5e6199854eac49f7fb06d84ad5ea6747843da8527b8", - "Created": 1395425894 - }, - { - "VirtualSize": 551116621, - "Size": 1099847, - "RepoTags": [ - ":" - ], - "ParentId": "fa12ddb6eb02264c5337e776b25ad39ae23c94458ae3aadc8cf373162375292c", - "Id": "b809d674f440af534ec2284d1e617efbea88b16792b7c425bb2ab217976ebae7", - "Created": 1395425524 - }, - { - "VirtualSize": 551116621, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "b809d674f440af534ec2284d1e617efbea88b16792b7c425bb2ab217976ebae7", - "Id": "1c37e1337e866ba8a57a7961d1f6231c22cde7849e889dfcbd1a58b37803c2fb", - "Created": 1395425524 - }, - { - "VirtualSize": 550016767, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "881f4ac96258e4cced3cf6496c62cec87cc991de30f3c386bcd8a32eb2534588", - "Id": "95e2c22c3a3dc966af9dd3cf3e94a12a21843f61004f372555c62bc17043d68e", - "Created": 1395425523 - }, - { - "VirtualSize": 550016774, - "Size": 7, - "RepoTags": [ - ":" - ], - "ParentId": "95e2c22c3a3dc966af9dd3cf3e94a12a21843f61004f372555c62bc17043d68e", - "Id": "fa12ddb6eb02264c5337e776b25ad39ae23c94458ae3aadc8cf373162375292c", - "Created": 1395425523 - }, - { - "VirtualSize": 550016767, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "cd6a56b3aed0f17b1db7eeca61820a9297fa4f8eccc9ca3beac1f5d411b45645", - "Id": "881f4ac96258e4cced3cf6496c62cec87cc991de30f3c386bcd8a32eb2534588", - "Created": 1395425522 - }, - { - "VirtualSize": 550016767, - "Size": 129016426, - "RepoTags": [ - ":" - ], - "ParentId": "8a2da15736f6a502547cf054ac75dd90da1c592d4d206d1bd81c6d640073a08a", - "Id": "cd6a56b3aed0f17b1db7eeca61820a9297fa4f8eccc9ca3beac1f5d411b45645", - "Created": 1395425509 - }, - { - "VirtualSize": 421000341, - "Size": 239638202, - "RepoTags": [ - ":" - ], - "ParentId": "18be4015b860b276de897acf4ee6295af1873fe45a44b89b06a60d4f8c65a932", - "Id": "8a2da15736f6a502547cf054ac75dd90da1c592d4d206d1bd81c6d640073a08a", - "Created": 1395425418 - }, - { - "VirtualSize": 181362139, - "Size": 3410402, - "RepoTags": [ - ":" - ], - "ParentId": "c44dcc11494cc87e1d2d4e991192e5170057bb3055f7d527dd8f8ed90879e030", - "Id": "18be4015b860b276de897acf4ee6295af1873fe45a44b89b06a60d4f8c65a932", - "Created": 1395425206 - }, - { - "VirtualSize": 177951737, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e", - "Id": "c44dcc11494cc87e1d2d4e991192e5170057bb3055f7d527dd8f8ed90879e030", - "Created": 1395425199 - }, - { - "VirtualSize": 484878413, - "Size": 0, - "RepoTags": [ - "mkdocs:latest" - ], - "ParentId": "3cebd5409ec8c1a4616f407d2638d18288852c99a1573fad34946048445d9f31", - "Id": "302a311358d8bbc6901a308618283bde7e9e74501d950d638e6d9040d20d4f9a", - "Created": 1395415583 - }, - { - "VirtualSize": 484877741, - "Size": 665, - "RepoTags": [ - ":" - ], - "ParentId": "7eb6e6bf5b1edb7c0123b2f47a3fe2689f6fc7392e246678cb7255998520b6b1", - "Id": "e3abd35079a30f83c29f9316d1f3178ff79c1e175fc4ed805632628dc0c0ae39", - "Created": 1395415583 - }, - { - "VirtualSize": 484878413, - "Size": 672, - "RepoTags": [ - ":" - ], - "ParentId": "e3abd35079a30f83c29f9316d1f3178ff79c1e175fc4ed805632628dc0c0ae39", - "Id": "3cebd5409ec8c1a4616f407d2638d18288852c99a1573fad34946048445d9f31", - "Created": 1395415583 - }, - { - "VirtualSize": 484877076, - "Size": 11880097, - "RepoTags": [ - ":" - ], - "ParentId": "c64fd435cb542fa4554ef75af3d0387a076d77ed18d334b165c387b6c1380b2d", - "Id": "7eb6e6bf5b1edb7c0123b2f47a3fe2689f6fc7392e246678cb7255998520b6b1", - "Created": 1395415582 - }, - { - "VirtualSize": 472996979, - "Size": 248402399, - "RepoTags": [ - ":" - ], - "ParentId": "79462a634bfab98538dfbda7cb647b933ac2bd047cf28437129fdd5b98213e6b", - "Id": "c64fd435cb542fa4554ef75af3d0387a076d77ed18d334b165c387b6c1380b2d", - "Created": 1395415496 - }, - { - "VirtualSize": 224594580, - "Size": 20223327, - "RepoTags": [ - ":" - ], - "ParentId": "7e3693a901b18511143415c69c5a0ac43a8d8baa300db1ab073747efa1574565", - "Id": "79462a634bfab98538dfbda7cb647b933ac2bd047cf28437129fdd5b98213e6b", - "Created": 1395413996 - }, - { - "VirtualSize": 204371253, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6", - "Id": "7e3693a901b18511143415c69c5a0ac43a8d8baa300db1ab073747efa1574565", - "Created": 1395413984 - }, - { - "VirtualSize": 224176786, - "Size": 730, - "RepoTags": [ - ":" - ], - "ParentId": "457abba3ae7b66d7171b9f8360641945c374fd78bcd4910561fd1ab3f4ba7215", - "Id": "3219a4a16d8bf603badee5d688bb404308a5ea0aa7f41bdcf654a58d694915e7", - "Created": 1394716307 - }, - { - "VirtualSize": 224176786, - "Size": 0, - "RepoTags": [ - "rabbitmq:latest" - ], - "ParentId": "9ce174b42a53e7337765b98319d1ee868c26e31e91b6abac825dd3d92b5cba2d", - "Id": "0505af9572cbe160dac19544e85e1ba71bbf20e6739b698633a1ef61ec256907", - "Created": 1394716307 - }, - { - "VirtualSize": 224176786, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "3219a4a16d8bf603badee5d688bb404308a5ea0aa7f41bdcf654a58d694915e7", - "Id": "9ce174b42a53e7337765b98319d1ee868c26e31e91b6abac825dd3d92b5cba2d", - "Created": 1394716307 - }, - { - "VirtualSize": 224176056, - "Size": 723, - "RepoTags": [ - ":" - ], - "ParentId": "956dea93f2e476bea401aadde9d33a7d9536c76116f0170545d7e3d29d6843dc", - "Id": "457abba3ae7b66d7171b9f8360641945c374fd78bcd4910561fd1ab3f4ba7215", - "Created": 1394716306 - }, - { - "VirtualSize": 224174871, - "Size": 2570, - "RepoTags": [ - ":" - ], - "ParentId": "660793384f10ba90a8945d1102ddf3ae7a05e5bd436df9fe2263e2655f200188", - "Id": "795620fe01d8983fe148c39d623458e0da777a975a42fb59ef0a10c2030ed6b4", - "Created": 1394203585 - }, - { - "VirtualSize": 224175333, - "Size": 462, - "RepoTags": [ - ":" - ], - "ParentId": "795620fe01d8983fe148c39d623458e0da777a975a42fb59ef0a10c2030ed6b4", - "Id": "956dea93f2e476bea401aadde9d33a7d9536c76116f0170545d7e3d29d6843dc", - "Created": 1394203585 - }, - { - "VirtualSize": 224172301, - "Size": 2200950, - "RepoTags": [ - ":" - ], - "ParentId": "06bd8ab372f711817cbe4de7e679419fe19e27e4cbf7c655d6ca0a675ed65776", - "Id": "660793384f10ba90a8945d1102ddf3ae7a05e5bd436df9fe2263e2655f200188", - "Created": 1394203584 - }, - { - "VirtualSize": 221971351, - "Size": 84, - "RepoTags": [ - ":" - ], - "ParentId": "270c6171295dd6f4ac508807fa60bf17ff4f614c111bcef3ac51da5b5cd38f90", - "Id": "06bd8ab372f711817cbe4de7e679419fe19e27e4cbf7c655d6ca0a675ed65776", - "Created": 1394203573 - }, - { - "VirtualSize": 221971267, - "Size": 38584043, - "RepoTags": [ - ":" - ], - "ParentId": "68a82651c07a6f6babec4bc06bc438b01faf7aa4ee40ffd124ca1540b177ad76", - "Id": "270c6171295dd6f4ac508807fa60bf17ff4f614c111bcef3ac51da5b5cd38f90", - "Created": 1394203570 - }, - { - "VirtualSize": 183387224, - "Size": 169376, - "RepoTags": [ - ":" - ], - "ParentId": "8abba8586e0039492e73395093607c66fcb4a779b2eac4834b09ee8bb4637b77", - "Id": "68a82651c07a6f6babec4bc06bc438b01faf7aa4ee40ffd124ca1540b177ad76", - "Created": 1394203502 - }, - { - "VirtualSize": 183191991, - "Size": 1709, - "RepoTags": [ - ":" - ], - "ParentId": "de6e50a1a54ef4886980285f9c2e19cc8f9e9c8d6cd0892e10b3f64d9a139205", - "Id": "b920b954730edc6caab17b4e3f024f3821d8c54c13e9e8ea8e4ad80239f68e23", - "Created": 1394203495 - }, - { - "VirtualSize": 183217848, - "Size": 25857, - "RepoTags": [ - ":" - ], - "ParentId": "b920b954730edc6caab17b4e3f024f3821d8c54c13e9e8ea8e4ad80239f68e23", - "Id": "8abba8586e0039492e73395093607c66fcb4a779b2eac4834b09ee8bb4637b77", - "Created": 1394203495 - }, - { - "VirtualSize": 183190282, - "Size": 1884265, - "RepoTags": [ - ":" - ], - "ParentId": "9b906e8baa608821c61a63aa02b43566541dd893d94ee8b522793c4125799ed8", - "Id": "de6e50a1a54ef4886980285f9c2e19cc8f9e9c8d6cd0892e10b3f64d9a139205", - "Created": 1394203494 - }, - { - "VirtualSize": 181306017, - "Size": 3354224, - "RepoTags": [ - ":" - ], - "ParentId": "d21c05e31c6841adf981465d6054a2f89f0355195b79e04dab157e83bd293d66", - "Id": "9b906e8baa608821c61a63aa02b43566541dd893d94ee8b522793c4125799ed8", - "Created": 1394203484 - }, - { - "VirtualSize": 177951793, - "Size": 56, - "RepoTags": [ - ":" - ], - "ParentId": "c9f5de4cf5adb5b0af1de62fa612976e8754bd61466b8347cac9ba4a7340b2b9", - "Id": "d21c05e31c6841adf981465d6054a2f89f0355195b79e04dab157e83bd293d66", - "Created": 1394203469 - }, - { - "VirtualSize": 177951737, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e", - "Id": "c9f5de4cf5adb5b0af1de62fa612976e8754bd61466b8347cac9ba4a7340b2b9", - "Created": 1394203468 - }, - { - "VirtualSize": 177951737, - "Size": 177951737, - "RepoTags": [ - "ubuntu:13.10", - "ubuntu:saucy" - ], - "ParentId": "1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077", - "Id": "9f676bd305a43a931a8d98b13e5840ffbebcd908370765373315926024c7c35e", - "Created": 1391448676 - }, - { - "VirtualSize": 0, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158", - "Id": "1c7f181e78b90d347996d754ffa38c4c6b395e7cf0388bffffbda00365b45077", - "Created": 1391448663 - }, - { - "VirtualSize": 166519275, - "Size": 166519275, - "RepoTags": [ - "ubuntu:raring", - "ubuntu:13.04" - ], - "ParentId": "f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd", - "Id": "eb601b8965b806e798674245307e091b8ac3cdb9fb522aebaa6ac593df8b6b3c", - "Created": 1391448539 - }, - { - "VirtualSize": 0, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158", - "Id": "f323cf34fd7797580c96f45c6b59c4c0704e0ecbc3504e986589c4039681c4fd", - "Created": 1391448529 - }, - { - "VirtualSize": 161026067, - "Size": 161026067, - "RepoTags": [ - "ubuntu:12.10", - "ubuntu:quantal" - ], - "ParentId": "321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5", - "Id": "5ac751e8d62391dab7b5e795e949e74e7053eb443f819cb35e6bd23fe847a794", - "Created": 1391448413 - }, - { - "VirtualSize": 0, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158", - "Id": "321f7f4200f444a0ba37aa7bcf35d2776f7f28958ed1cfe79b5108c62a9c1ab5", - "Created": 1391448404 - }, - { - "VirtualSize": 180829403, - "Size": 180829403, - "RepoTags": [ - "ubuntu:10.04", - "ubuntu:lucid" - ], - "ParentId": "7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4", - "Id": "9cc9ea5ea540116b89e41898dd30858107c1175260fb7ff50322b34704092232", - "Created": 1391448301 - }, - { - "VirtualSize": 204371253, - "Size": 204371253, - "RepoTags": [ - "ubuntu:12.04", - "ubuntu:latest", - "ubuntu:precise" - ], - "ParentId": "6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311", - "Id": "9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6", - "Created": 1391448149 - }, - { - "VirtualSize": 0, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158", - "Id": "6170bb7b0ad1003a827e4dc5253ba49f6719599eac485db51eaafd507c13c311", - "Created": 1391448134 - }, - { - "VirtualSize": 0, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158", - "Id": "7a4f8724184531b88441f95d0a12e47e0791aaedf4ef122b5464da54f38973d4", - "Created": 1390423764 - }, - { - "VirtualSize": 3640230124, - "Size": 104284563, - "RepoTags": [ - "bradrydzewski/go:1.0" - ], - "ParentId": "2b8dc451411d846789cfa3d759d50a98c8e19f24dfb4ad3713896d4bc2478b81", - "Id": "e70d9376e2731c6fd6fecab92fd5335959147d61929436f5a6da6577354ac594", - "Created": 1386145518 - }, - { - "VirtualSize": 3535945561, - "Size": 250, - "RepoTags": [ - ":" - ], - "ParentId": "ccb0fc858beece1d85f7a58da4786e9ad7feb3c07af60ee8fad7717710ec9b3e", - "Id": "2b8dc451411d846789cfa3d759d50a98c8e19f24dfb4ad3713896d4bc2478b81", - "Created": 1386145505 - }, - { - "VirtualSize": 3696369614, - "Size": 160424186, - "RepoTags": [ - "bradrydzewski/go:1.1" - ], - "ParentId": "492e17ce58671e1caef9621ca461e24a14a160f192b0792e8c3f4f692d4542ab", - "Id": "58d61717c421a0fce80fd35a1186a23f2ed4ebadb74762c2201c4766c0822220", - "Created": 1386145503 - }, - { - "VirtualSize": 3535945428, - "Size": 117, - "RepoTags": [ - ":" - ], - "ParentId": "ccb0fc858beece1d85f7a58da4786e9ad7feb3c07af60ee8fad7717710ec9b3e", - "Id": "492e17ce58671e1caef9621ca461e24a14a160f192b0792e8c3f4f692d4542ab", - "Created": 1386145483 - }, - { - "VirtualSize": 3753104488, - "Size": 217159060, - "RepoTags": [ - "bradrydzewski/go:1.2" - ], - "ParentId": "46df953e60db11fac421fd51c0549f1c5fd1dac7d61623eec20dd285d7cff8ee", - "Id": "7bf9ce0ffb7236ca68da0f9fed0e1682053b393db3c724ff3c5a4e8c0793b34c", - "Created": 1386145481 - }, - { - "VirtualSize": 3535945428, - "Size": 117, - "RepoTags": [ - ":" - ], - "ParentId": "ccb0fc858beece1d85f7a58da4786e9ad7feb3c07af60ee8fad7717710ec9b3e", - "Id": "46df953e60db11fac421fd51c0549f1c5fd1dac7d61623eec20dd285d7cff8ee", - "Created": 1386145439 - }, - { - "VirtualSize": 3535945311, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "00fb4af118c13d803dd811c1f3a251f0d163aca4da461fbeb7496a7e94c81f5b", - "Id": "91a2d1b17810a85774c09521ab749263648bb916b3e05fb00813ccf10311a372", - "Created": 1386143545 - }, - { - "VirtualSize": 3535945311, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "91a2d1b17810a85774c09521ab749263648bb916b3e05fb00813ccf10311a372", - "Id": "ccb0fc858beece1d85f7a58da4786e9ad7feb3c07af60ee8fad7717710ec9b3e", - "Created": 1386143545 - }, - { - "VirtualSize": 3535945311, - "Size": 2873376567, - "RepoTags": [ - ":" - ], - "ParentId": "a61130d6a0f31604b1bb139f84167147b4ae74382977a7c865b25aa785397c54", - "Id": "00fb4af118c13d803dd811c1f3a251f0d163aca4da461fbeb7496a7e94c81f5b", - "Created": 1386142981 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "763a4d0ad1dc53b8b7a4dbbc644659a197e969847ad0391ed56a7d29de44fc74", - "Id": "45519cb7087f25bcdb3b662374986881369440291748ff16972883b3e79ee0ea", - "Created": 1386142123 - }, - { - "VirtualSize": 662557614, - "Size": 4150, - "RepoTags": [ - ":" - ], - "ParentId": "735f5db5626147582d2ae3f2c87be8e5e697c088574c5faaf8d4d1bccab99470", - "Id": "edd1c3750c7d10c973814a6841494ba91292864e3f52f03f0150225dce9ac20e", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "9ecb2de0e5443146f9fe41a28b9b43f326aa9f5a2ab134a0548449976ffac51e", - "Id": "de1674b7017f517117be335d749c975db1e509b05e2ecd31818e0d4a8db532d9", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "d94561b048accae7a0016a7d4bbad2cdf35ae257d8655ac316f45604f1c2bb4d", - "Id": "ecfb6dbe1d0c1152c661da09f7de7b7ac1355b2bb5c9d6aa4cbf6e9d74bda7ab", - "Created": 1386142123 - }, - { - "VirtualSize": 662557774, - "Size": 80, - "RepoTags": [ - ":" - ], - "ParentId": "91c5dcc714a6ad4c8af8c1da2d828463095282596fcdb97026505e8597d6a4f2", - "Id": "8dd1f2fbe194c0a61053e3bd3e7cf23ad2264c378057778a84c995cff38a1d52", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "de1674b7017f517117be335d749c975db1e509b05e2ecd31818e0d4a8db532d9", - "Id": "d94561b048accae7a0016a7d4bbad2cdf35ae257d8655ac316f45604f1c2bb4d", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "45519cb7087f25bcdb3b662374986881369440291748ff16972883b3e79ee0ea", - "Id": "d33a03b60c0bd4e0e17d2c231dc80110c7bf7f2150d414b57769ec1638aea551", - "Created": 1386142123 - }, - { - "VirtualSize": 662557694, - "Size": 80, - "RepoTags": [ - ":" - ], - "ParentId": "edd1c3750c7d10c973814a6841494ba91292864e3f52f03f0150225dce9ac20e", - "Id": "91c5dcc714a6ad4c8af8c1da2d828463095282596fcdb97026505e8597d6a4f2", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "eb4e1eff516d68283072c960cdb4324e9627de12567c99052f6d533c3851016c", - "Id": "763a4d0ad1dc53b8b7a4dbbc644659a197e969847ad0391ed56a7d29de44fc74", - "Created": 1386142123 - }, - { - "VirtualSize": 662553464, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "4c1208b690c68af3476b437e7bc2bcc460f062bda2094d2d8f21a7e70368d358", - "Id": "735f5db5626147582d2ae3f2c87be8e5e697c088574c5faaf8d4d1bccab99470", - "Created": 1386142123 - }, - { - "VirtualSize": 662568744, - "Size": 5753, - "RepoTags": [ - ":" - ], - "ParentId": "ecfb6dbe1d0c1152c661da09f7de7b7ac1355b2bb5c9d6aa4cbf6e9d74bda7ab", - "Id": "a61130d6a0f31604b1bb139f84167147b4ae74382977a7c865b25aa785397c54", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 5217, - "RepoTags": [ - ":" - ], - "ParentId": "8dd1f2fbe194c0a61053e3bd3e7cf23ad2264c378057778a84c995cff38a1d52", - "Id": "eb4e1eff516d68283072c960cdb4324e9627de12567c99052f6d533c3851016c", - "Created": 1386142123 - }, - { - "VirtualSize": 662562991, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "d33a03b60c0bd4e0e17d2c231dc80110c7bf7f2150d414b57769ec1638aea551", - "Id": "9ecb2de0e5443146f9fe41a28b9b43f326aa9f5a2ab134a0548449976ffac51e", - "Created": 1386142123 - }, - { - "VirtualSize": 662553464, - "Size": 662553464, - "RepoTags": [ - ":" - ], - "ParentId": "", - "Id": "4c1208b690c68af3476b437e7bc2bcc460f062bda2094d2d8f21a7e70368d358", - "Created": 1386114144 - }, - { - "VirtualSize": 0, - "Size": 0, - "RepoTags": [ - ":" - ], - "ParentId": "", - "Id": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158", - "Created": 1371157430 - } +[{"Created":1400077828,"Id":"8c32832f07ba79ddc27b497a17a596b2d67f76b77afe193f278d108a9c5f4bc2","ParentId":"0fe9a2bc50fe23b3f275722d92c2d3a587374855fff5f66b3ebaa706a7650ebf","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":383,"VirtualSize":513661603} +,{"Created":1400077828,"Id":"5c0d04fba9df5ab740916b2d732944adca5d269ef9e38f609263b828864f1857","ParentId":"cc4e1358bc8060316ae38059574e729fb467fb6eb33c70a6fca5e313f21e893c","RepoTags":["nate/mongodb:latest"],"Size":0,"VirtualSize":513661603} +,{"Created":1400077828,"Id":"0fe9a2bc50fe23b3f275722d92c2d3a587374855fff5f66b3ebaa706a7650ebf","ParentId":"67b8b7262a67df2cfea9e9afe5c2021c821e9fb3401c104335519d8fd71d4da9","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":656,"VirtualSize":513661220} +,{"Created":1400077828,"Id":"67b8b7262a67df2cfea9e9afe5c2021c821e9fb3401c104335519d8fd71d4da9","ParentId":"2f96171d20988d98fceff6e90b4df31ce587304737638f574864c3e9ffc36862","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1866379,"VirtualSize":513660564} +,{"Created":1400077828,"Id":"cc4e1358bc8060316ae38059574e729fb467fb6eb33c70a6fca5e313f21e893c","ParentId":"8c32832f07ba79ddc27b497a17a596b2d67f76b77afe193f278d108a9c5f4bc2","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":513661603} +,{"Created":1400077824,"Id":"7dac4e98548e9dd3a9004329d8565535524f713308344b199ad9930e6eb3a33d","ParentId":"89541b3b35f2b6d54f993494803e88bfeef3aa90fa74b832b3902a232da8b0ec","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":511794185} +,{"Created":1400077824,"Id":"2f96171d20988d98fceff6e90b4df31ce587304737638f574864c3e9ffc36862","ParentId":"341d0cc3fac8fa4d67ccf94c842885d8867bdcbd0cba172ea1e65d893d084540","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":511794185} +,{"Created":1400077824,"Id":"341d0cc3fac8fa4d67ccf94c842885d8867bdcbd0cba172ea1e65d893d084540","ParentId":"7dac4e98548e9dd3a9004329d8565535524f713308344b199ad9930e6eb3a33d","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":511794185} +,{"Created":1400077813,"Id":"89541b3b35f2b6d54f993494803e88bfeef3aa90fa74b832b3902a232da8b0ec","ParentId":"59dac4bae93b6ead87df213e707b9a486b828e59e06ed9594e13e7094843d7d0","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":269335966,"VirtualSize":511794185} +,{"Created":1400077619,"Id":"59dac4bae93b6ead87df213e707b9a486b828e59e06ed9594e13e7094843d7d0","ParentId":"d0525208a46c381bd418b225cb0130dd0fad8bc02ece51891500cef457596579","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":71150930,"VirtualSize":242458219} +,{"Created":1400077589,"Id":"d0525208a46c381bd418b225cb0130dd0fad8bc02ece51891500cef457596579","ParentId":"e18d8001204e17a3d971e015bb5fe39c18ae73ef233bfc893d295b36b98991c2","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":71,"VirtualSize":171307289} +,{"Created":1400077589,"Id":"e18d8001204e17a3d971e015bb5fe39c18ae73ef233bfc893d295b36b98991c2","ParentId":"a7cf8ae4e998c5339e769d6cc466f9133bd4d330a549bb846cb1641cd638247c","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":29352,"VirtualSize":171307218} +,{"Created":1399984215,"Id":"594b6f8e6f92b0421b1b5c3fca59ba30689a051569d6e8805cc6194eb432e73d","ParentId":"0cd8e7f50270c4c0237dbdf706e95e0064f538c9bbb24a380c816424a6c049df","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":243614001} +,{"Created":1399984215,"Id":"f832a63e87a4ba96b339039fab04f5f6656031585077691c5f72f4b9a7afac69","ParentId":"594b6f8e6f92b0421b1b5c3fca59ba30689a051569d6e8805cc6194eb432e73d","RepoTags":["redis:latest"],"Size":0,"VirtualSize":243614001} +,{"Created":1399984214,"Id":"0cd8e7f50270c4c0237dbdf706e95e0064f538c9bbb24a380c816424a6c049df","ParentId":"398d592f20098970bcff4f4fa790576ca046fd29c9548f31ef793264337b5ecc","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1418392,"VirtualSize":243614001} +,{"Created":1399984207,"Id":"398d592f20098970bcff4f4fa790576ca046fd29c9548f31ef793264337b5ecc","ParentId":"a7cf8ae4e998c5339e769d6cc466f9133bd4d330a549bb846cb1641cd638247c","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":70917743,"VirtualSize":242195609} +,{"Created":1398393808,"Id":"74fe38d114018aac73c5997b95263090048ec9a1f58f33a1b53f55e92156d53b","ParentId":"5dbd9cb5a02fb27734e3dbaef8d6abf0997c137f49dd433bf3f27c8036d3348e","RepoTags":["ubuntu:12.04","ubuntu:precise"],"Size":105667193,"VirtualSize":209599892} +,{"Created":1398393790,"Id":"5dbd9cb5a02fb27734e3dbaef8d6abf0997c137f49dd433bf3f27c8036d3348e","ParentId":"82cdea7ab5b555f53c2adf8df75b0d2ad1e49dbfc11da50df3e7ea38454ed606","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1919,"VirtualSize":103932699} +,{"Created":1398393790,"Id":"82cdea7ab5b555f53c2adf8df75b0d2ad1e49dbfc11da50df3e7ea38454ed606","ParentId":"f10ebce2c0e158af1eb0dc08c9e917cc0976e7d57319defbb06ea61191d29e76","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":255455,"VirtualSize":103930780} +,{"Created":1398393784,"Id":"f10ebce2c0e158af1eb0dc08c9e917cc0976e7d57319defbb06ea61191d29e76","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":103675325,"VirtualSize":103675325} +,{"Created":1398356340,"Id":"a7cf8ae4e998c5339e769d6cc466f9133bd4d330a549bb846cb1641cd638247c","ParentId":"cf8dc907452c970224551599da573c9e32897fc65286d942625c4c86dabd680d","RepoTags":["ubuntu:12.10","ubuntu:quantal"],"Size":70094270,"VirtualSize":171277866} +,{"Created":1398356323,"Id":"07302703beccc2ea25f34333decad32ed06446e8a14c020ffbd0be017364b9fe","ParentId":"ef519c9ee91a06fc33cefbda1bce27686617761700252dff0397f2c0e269f3c5","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":250998,"VirtualSize":101181677} +,{"Created":1398356323,"Id":"cf8dc907452c970224551599da573c9e32897fc65286d942625c4c86dabd680d","ParentId":"07302703beccc2ea25f34333decad32ed06446e8a14c020ffbd0be017364b9fe","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1919,"VirtualSize":101183596} +,{"Created":1398356315,"Id":"ef519c9ee91a06fc33cefbda1bce27686617761700252dff0397f2c0e269f3c5","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":100930679,"VirtualSize":100930679} +,{"Created":1398356223,"Id":"316b678ddf487a37012630ae3219c8bb78c1f4b58d31c9513c3ea6b88f9e5635","ParentId":"cb12405ee8fa58aa11f2a2fe5ab98430fefdf330ce1a9bd37ba800abc14b9ca1","RepoTags":["ubuntu:13.04","ubuntu:raring"],"Size":70822908,"VirtualSize":169363148} +,{"Created":1398356207,"Id":"cb12405ee8fa58aa11f2a2fe5ab98430fefdf330ce1a9bd37ba800abc14b9ca1","ParentId":"e7206bfc66aac0ab946eb11dad1271f4f5f3f72ab65cff66b4092aeaee20475b","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":1903,"VirtualSize":98540240} +,{"Created":1398356206,"Id":"e7206bfc66aac0ab946eb11dad1271f4f5f3f72ab65cff66b4092aeaee20475b","ParentId":"02dae1c13f51edae0a9817e01dcbbad380c1b31933779641e5f733958af5d8d5","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":190007,"VirtualSize":98538337} +,{"Created":1398356200,"Id":"02dae1c13f51edae0a9817e01dcbbad380c1b31933779641e5f733958af5d8d5","ParentId":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":98348330,"VirtualSize":98348330} +,{"Created":1371157430,"Id":"511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158","ParentId":"","RepoTags":["\u003cnone\u003e:\u003cnone\u003e"],"Size":0,"VirtualSize":0} ] diff --git a/sample/images.png b/sample/images.png new file mode 100644 index 0000000..4b6d3cf Binary files /dev/null and b/sample/images.png differ