DevOps/Docker/Dockerfile

From Wikiversity
< DevOps‎ | Docker
Jump to navigation Jump to search

Dockerfile is a text file where you define instructions used to create your Docker images, check official Dockerfile Reference documentation: https://docs.docker.com/engine/reference/builder/

For creating this file with instructions usually called Dockerfile you can use the following keywords[1]:

Activities[edit | edit source]

  1. Learn differences between RUN and CMD or ENTRYPOINT: https://stackoverflow.com/a/25150809
  2. Read Understand how CMD and ENTRYPOINT interact https://docs.docker.com/engine/reference/builder/#understand-how-cmd-and-entrypoint-interact

See also[edit | edit source]

  1. https://kapeli.com/cheat_sheets/Dockerfile.docset/Contents/Resources/Documents/index