Site icon TestingDocs.com

What is Docker Architecture?

Introduction

Docker is a software container platform. Using Docker we can package software in a file system that contains software code, run-time environment, tools, & libraries that are required to install and run the software. Docker provides a unified framework for all types of applications/apps. Docker Architecture is shown below.

What is a Container?

A Container is an abstraction at the application layer that packs code and dependencies together. Multiple containers can run on the same machine and share the OS kernel with other containers. Containers take up less space than VMs and are lightweight as shown below.

We can run Docker on any platforms like

Docker containers are based on open standards and run on major operating systems like Linux, Windows, on Virtual Machines, on Cloud, etc. It provides a standard container for monolithic or microservices, Linux or Windows, in-house or cloud.

 

Docker Architecture

An image is a snapshot of the container. We can create a docker image with the build command. Docker images become Docker containers when they run on the Docker Engine.

We can create a container from a docker image by using the run command. Containers bundle libraries and settings required to make the software work. This makes lightweight, self-contained, robust systems.

Example

These commands are illustrated in this example:

Run Selenium Tests on Docker Container

https://www.testingdocs.com/run-selenium-test-on-docker-container/

Docker Editions

Currently, Docker is available in two editions.

You can get started with Docker or to learn more visit the documentation website: https://docs.docker.com/

Exit mobile version