Learn basics of docker
What you will learn
What is Docker
Basic concepts of Docker
Docker container life cycles & images
Creating custom image of nginx & nodejs project using docker
Description
Docker is very important tool in DevOps. It is now also mostly used by programmers for development of their tech stack for web development project. In this series we will cover basics of docker
– Installation & running hello world
– What are images, how to get them from dockerhub
– How to create, start, stop container
– Dockerfile nginx container with HTML website
– Docker file with a hello world project of Nodejs
Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels. Because all of the containers share the services of a single operating system kernel, they use fewer resources than virtual machines.
Docker can package an application and its dependencies in a virtual container that can run on any Linux, Windows, or macOS computer. This enables the application to run in a variety of locations, such as on-premises, in public (see decentralized computing, distributed computing, and cloud computing) or private cloud. When running on Linux, Docker uses the resource isolation features of the Linux kernel (such as cgroups and kernel namespaces) and a union-capable file system (such as OverlayFS) to allow containers to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines. Docker on macOS uses a Linux virtual machine to run the containers.
Content