저작권등을 표시
root@template:~/Lab# cat Dockerfile.10
FROM centos:7
LABEL maintainer "dennis <dennis1111111111111@gmail.com>"
LABEL title "TEST Image"
LABEL version 1.0
LABEL description "This image is test image ^__^"
root@template:~/Lab# docker build -t myimage:2.0 -f Dockerfile.10 .
Sending build context to Docker daemon 198.7kB
Step 1/5 : FROM centos:7
root@template:~/Lab# docker image inspect myimage:2.0
[
{
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"description": "This image is test image ^__^",
"maintainer": "dennis <dennis1111111111111@gmail.com>",
"org.label-schema.build-date": "20201113",
"org.label-schema.license": "GPLv2",
'Infra > Docker_K8S' 카테고리의 다른 글
도커 컴포즈(Docker Compse)로 워드프레스 블로그 만들기 - 펀글 (0) | 2022.08.03 |
---|---|
yaml 편집을 위한 VSCode 설정하기. 원격 파일 수정하기. (0) | 2022.07.31 |
Dockerfile 작성법8 - USER (0) | 2022.07.31 |
Dockerfile 작성법7 - WORKDIR (0) | 2022.07.31 |
Dockerfile 작성법6 - HEALTHCHECK (0) | 2022.07.31 |
댓글