问题原文
原帖链接 · WoJ · CC BY-SA 3.0
docker inspect returns all sorts of interesting information about a docker image or container (or another object).
Where is this information stored? Is it possible to edit it?
已采纳解答
原帖链接 · johnharris85 · CC BY-SA 3.0
No it's not possible to edit the 'built in' configuration and state information returned by docker inspect. However if you want to add information to docker inspect then you can look into adding labels to your images / containers and then introspecting that (as label information is returned by docker inspect).
Official docs on Labelling (various different objects) can be found here.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
