FROM #must be first line, can have 2+ though?
MAINTAINER <foo@bar.com>
USER
WORKDIR
ARG
ONBUID
STOPSIGNAL
HEALTHCHECK
SHELL
VOLUME
LABEL
ENV var value ENV var=value
ADD from to-file ADD ["from", "to-file"] #from can be a URL
COPY from-file to-file #files only COPY ["from-file", "to-file"]
EXPOSE
CMD ["exe","param1","param2"] CMD [param1","param2"] #implies running entrypoint CMD "shell command"
RUN "/bin/sh -c shell command" #ouput state becomes next layer of docker image. RUN ["exe","param1","param2"]
ENTRYPOINT ["exe","param1","parma2"] ENTRYPOINT shell command