docker_practice/image/dockerfile/label.md

18 lines
477 B
Go
Raw Normal View History

# LABEL
`LABEL` metadata
```docker
LABEL <key>=<value> <key>=<value> <key>=<value> ...
```
```docker
LABEL org.opencontainers.image.authors="yeasy"
LABEL org.opencontainers.image.documentation="https://yeasy.gitbooks.io"
```
https://github.com/opencontainers/image-spec/blob/master/annotations.md