File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,6 +99,31 @@ inspect cluster [--namespace mynamespace]
9999inspect diff-namespace staging production
100100```
101101
102+ ### To check that an image contains all recommended labels
103+
104+ ```
105+ inspect check <image>
106+ ```
107+
108+ e.g.
109+
110+ ```
111+ inspect check garethjevans/inspect:0.0.9
112+ +-----------------------------------+---------+---------------------------------------------------------------------+
113+ | LABEL | OK | RECOMMENDATION |
114+ +-----------------------------------+---------+---------------------------------------------------------------------+
115+ | org.opencontainers.image.created | OK | |
116+ | org.opencontainers.image.revision | OK | |
117+ | org.opencontainers.image.source | OK | |
118+ | org.opencontainers.image.url | OK | |
119+ | org.label-schema.build-date | OK | |
120+ | org.label-schema.vcs-ref | OK | |
121+ | org.label-schema.vcs-url | OK | |
122+ | org.label-schema.url | OK | |
123+ | inspect.tree.state | Missing | test -z "$(git status --porcelain)" && echo "clean" || echo "dirty" |
124+ +-----------------------------------+---------+---------------------------------------------------------------------+
125+ ```
126+
102127## Documentation
103128
104129More indepth documentaion can be found [ here] ( ./docs/inspect.md )
You can’t perform that action at this time.
0 commit comments