5. List of Docker file instructions and its Brief Summary? by Bharath Srinivas
FROM : To get the base image
MAINTAINER: author of the generated image
ADD: It is similar to COPY but it supports get remote URLs and also unzips tar balls
RUN: Run is used to run specific commands.
CMD: This is similar to ENTRYPOINT it allows the override the command
ENTRYPOINT: after starting the container it is the initial process that runs. Entry point doesn’t allow override the command
WORKDIR: Used to create working directory inside the container.
COPY: copy files/folders from local machine to the container