Showing posts with label Docker File. Show all posts
Showing posts with label Docker File. Show all posts

Saturday, 15 July 2017

Docker Machine and Basic Commands

Docker Machine and Basic Commands

Docker Machine is a tool that lets you install Docker Engine on virtual hosts, and manage the hosts with docker-machine commands.




Docker Image, Docker Container,Docker File

Docker Image

   + A read only template composed of layered file systems.
   + It is used to share common files and create Docker container instances.



Docker Container

+ Containers are the instances of  images.
+ Containers are an encapsulation of an application with its dependencies.



Docker File

+ Dockerfile is a script, composed of various commands (instructions) and arguments listed successively to automatically perform actions on a base image in order to create (or form) a new one.
+ They are used for organizing things and greatly help with deployments by simplifying the process start-to-finish.




Chapter : 1 - First code in Node JS Previously I have written a blog about Getting Started with Node JS and its installation. Now lets s...