List out all INSTRUCTION statement of dockerfile and give one line explanation.

  1. FROM – First command inside a docker file and Creates the base image.
  2. MAINTANER – Sets the author info of docker file.
  3. RUN – Runs command in the container of previous layer
  4. ARG -Sets the variable
  5. EXPORT -Expose a port
  6. COPY – Copies a file to the container
  7. ADD – copies a files from source location to a image location
  8. WORKDIR -Sets working directory
  9. CMD – To run a command or executable
  11. VOLUME-Creates a mount point
  12. USER -Sets a user name
  13. ENV -Sets environment variables
  14. LABEL -Adds meta data to image