We can deploy/run containers with various tools. We see what are the options available to run the containers Running container from local/remote image, Image can be pulled from three locations (Docker Hub / Docker Trusted Registry) / Private Registry) Running container by building an image from a existing running container Running container by building an…
Category: Containers
Containers
Docker Introduction
Docker is a set of platform as a service (PaaS) products that uses OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files. All containers are run by a single operating-system kernel and are thus more lightweight than virtual machines. The…
Docker Compose
Compose is a tool for defining and running multi-container Docker applications. Make Sure Docker installed & Swarm Cluster Configured. yum install epel-release -y yum install python-pip -y pip install –upgrade pip pip install docker-compose mkdir Dockerfile cd Dockerfile vi Dockerfile #Simple webserver FROM centos:latest LABEL maintainer=”test@gmail.com” RUN yum install -y httpd RUN echo “Container Website”…
LXC/LXD Containers
Linux Containers are self-contained execution environment with their own isolated hardware resources ( CPU/RAM/HD). They share the kernel of the host operation system. LXD is an ultra-fast Linux only Hypervisor doesn’t stimulate or emulate the hardware itself. Virtual machines can be emulated by the hypervisor or Para virtualized by the processor. In addition to each…