How to use json to display repositories-devicemapper in docker


Neatly display repositories-devicemapper using json

using_json_in_docker

[root@intercloud1 docker]# cat repositories-devicemapper | python -mjson.tool
{
“Repositories”: {
“million12/centos-supervisor”: {
“latest”: “759b62aea310391f58d8818b67c5f325fbe6defa7fb47e579e60c85d7a3a240b”
},
“tdiary/rpaproxy-sinatra”: {
“latest”: “e30ee4416d5242cfeab264ee96a5a1972f5baf4927d801c897d1b620b477260f”
},
“tutum/apache-php”: {
“latest”: “c54c7b9b1247903a5ce7eabdf1deeacb046f1fe4a25eb5cbeb82998602351560”

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s