Posts

Showing posts with the label Union File System

Docker Part II - How to build Docker Files and Images

Image
Hi, I am Malathi Boggavarapu and welcome to my blog. This is the continuation course of Docker. Before going through this course, please take a look at my previous post ' What is a Docker ' which introduce you to the building blocks of Docker. This course will teach you about most important concepts such as Dockerfile and Images with examples, pictures and real world usecases. So let's get started to learn about what a Dockerfile and Docker Image is. Dockerfile is a text file where we put bunch of instructions or commands so that Docker can use it to create an image. See the below picture for instructions or commands that are available. By using the complete set of commands which were shown in above picture, we build a Dockerfile. So let's look at FROM in the above picture. Using FROM command we can refer to the base image that is going to be used while building an image. Example it can be used to ask ' i need the user space for Ubuntu o