docker image inspect image:tag docker stats --no-stream

阅读 105

2022-12-10

docker stats nginx --no-stream --format "{{ json . }}"

[root@localhost 12-7]# docker image inspect new_img:v1 | grep "qinrui"
"while true;do echo qinrui;sleep 1; done"
"Author": "by qinrui",
"while true;do echo qinrui;sleep 1; done"
[root@localhost 12-7]# docker image inspect new_img:v1 | grep "秦瑞"
"Comment": "秦瑞提交 的镜像",
[root@localhost 12-7]#

精彩评论(0)

0 0 举报