What are Dockerfile Directives In our previous tutorial, you learned how to build images with Dockerfile. This tutorial will help you to understand the basic Dockerfile directives and there uses. FROM The from directive is used to set base image for the subsequent instructions. A Dockerfile must have FROM directive with valid image name as the first instruction. Examples: FROM ubuntu FROM tecadmin/ubuntu-ssh:16.04 LABEL Using label you can organize images in a proper way. this is useful to set maintainer address, vender name, version of image, release date etc. The…
Read More