Closed dnwillia23 closed 11 months ago
Provide an overview...
FROM ubuntu:20.04
FROM ubuntu
Include the following LABELs:
LABEL maintainer="Your Name <your.email@rti.org>"
LABEL description="Short description of the purpose of this image"
LABEL software-website="https://example.com"
LABEL software-version="1.0.0"
LABEL license="https://www.example.com/legal/end-user-software-license-agreement"
/opt
CMD
Description
Provide an overview...
Dockerfile Structure and Organization:
FROM ubuntu:20.04
instead ofFROM ubuntu
.Metadata
Include the following LABELs:
LABEL maintainer="Your Name <your.email@rti.org>"
LABEL description="Short description of the purpose of this image"
LABEL software-website="https://example.com"
LABEL software-version="1.0.0"
LABEL license="https://www.example.com/legal/end-user-software-license-agreement"
File and Resource Management:
/opt
.Container Behavior
CMD
to define how the container should run by default (help message is a good default).