How to use json to display repositories-devicemapper in docker

Neatly display repositories-devicemapper using json


[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”

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

Leave a Reply

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

You are commenting using your 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: