What is Dockerfile | How to create and build Dockerfile | Dockerfile Basic Commands

Today we will learn : 1. What is Dockerfile 2. How to create Dockerfile 3. How to build image from Dockerfile 4. Basic Commands TIPS & TRICKS Dockerfile : A text file with instructions to build image Automation of Docker Image Creation FROM RUN CMD Step 1 : Create a file named Dockerfile Step 2 : Add instructions in Dockerfile Step 3 : Build dockerfile to create image Step 4 : Run image to create container COMMANDS : docker build : docker build -t ImageName:Tag directoryOfDocekrfile : docker run image References: https://github.com/wsargent/docker-cheat-sheet#dockerfile https://docs.docker.com/engine/reference/builder/#environment-replacement https://

It's only fair to share...Tweet about this on TwitterShare on FacebookShare on TumblrShare on Google+Digg thisShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone
Flattr the authorShare on StumbleUponShare on YummlyBuffer this page

Leave a Reply

Your email address will not be published. Required fields are marked *