Difference between revisions of "Dockerfile"

From wikieduonline
Jump to navigation Jump to search
(Created page with "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/re...")
 
Line 25: Line 25:
  
 
== See also ==
 
== See also ==
* [[Docker compose]]
 
* [[docker inspect]]
 
* [[Start configuration behavior and restart policy]]
 
 
*{{Docker}}
 
*{{Docker}}
  

Revision as of 09:34, 17 January 2020

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/[1]

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

Activities

  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

  • https://en.wikiversity.org/wiki/DevOps/Docker/Dockerfile
  • https://kapeli.com/cheat_sheets/Dockerfile.docset/Contents/Resources/Documents/index
  • Advertising: