Articles IT and Development

Airtract IHSAN NAUFAL ARDANTO Tagline Not Available

Docker Orchestration 27 November, 2020   

This article is written for individual review of PPL CS UI 2020


In this instance I will talk about Docker.

What is Docker?

Docker is a tool designed to create, deploy and run applications easier by using containers.


What is Container?

Containers is a tool to allow developer(s) to package up a program with all of the parts it needs, such as libraries and other dependencies.


Why the needs for this tool?

By packaging it in one container, developer can easily run the application on any other machine regardless of any customized settings differed from the machine used for writing the code. No more searching what missing dependencies needed for the application.


Docker sounds similar to virtual machine, but it differs where the host kernel is used instead of hypervisor used by VM. Dockers abstracting the OS, unlike VM where instead it abstracts the hardware. Consequently, Dockers need much less space size than Virtual Machines. It also differents from Virtual Environments where developers are still in host OS, with Docker, developers can run it on Ubuntu, Debian, Mint etc.


Advantage

There is certains benefits developers get when using docker :

  1. Consistency, the program always runs using same environment no matter which server or laptop they are running on. This means less time spent setting up environments and eliminate "it works on my machine" problem
  2. Simplicity, Developers can put docker, code and deploy it without any problems. The requirements of host's infrastructure are no longer needed. The application can be run without disturbance from the host's infrastructure
  3. Faster Deployment, Because it is much smaller than VM and does not boot an OS, Deployment of application can be reduced into seconds.


Docker as a service is consisted of three components :

  • Software: The Docker daemon, called dockerd, is a process which manages Docker containers and handles container objects.
  • Objects: Various entities used to assemble an application in Docker such as Docker container, which is a standardized & encapsulated environment where applications runs, Docker image, read-only template used to build containers, and Docker service which allows containers to be scaled across multiple docker daemons.
  • Registries: a repository for Docker images. Docker software connect to registries to pull images for use or push images that which have been built.

How to build it?

To setup Docker, many tutorial is provided online, including from it's developer. You can also search other tutorial, for example this one


For this PPL project, unfortunately I don't use Docker. There are many reasons, such as I don't make this project from scratch, I'm inheriting it to develop additional features and my predecessors didn't seem to use Docker. I'm not confident in building Docker image for projects builded by others.

Also, I'm working alone in developing this projects and considering my mobility halted by Covid, Developing Dockers for use in other laptops is not my current priority. Maybe when I have time in the future I would build it. For now I'm still satisfied using Virtual Enviroments.

Docker PPL

Related Articles

Agile vs Scrum- Understanding The Differences between Agile and Scrum Why Demand Planning Software can be a Game Changer for your Business Let’s know Java from its History Agile Innovation Building a Covid-19 Compliant Workspace for Employees Returning to Work

IT and Development Courses

Airtract FLASH SALE

PHP basics and MySQL essentials

Coders Guid

0 (0) New Course

In this course we explain the basics in php and mysql. After learning this course you will be able to work PHP and MySQL with confidence In this course we cover Installation Syntax Variable...

7 hrs 41.52 mins 0 Students Enrolled 45 Lectures

$19

0 % off $19

$19

Buy Now
Airtract FLASH SALE

The Full Stack Web Development 2021: Bootcamp

hari systems

0 (0) New Course

Learn The Full Stack Web Development 2020 Course, The first step to the full-stack web development you need to learn to succeed in core basics of HTML, CSS, and Bootstrap4 on the Server-side PHP wi...

18 hrs 34.28 mins 0 Students Enrolled 201 Lectures

$19

90.45 % off $199

$19

Buy Now
Airtract FLASH SALE

Complete Python for Beginners from Scratch

hari systems

0 (0) New Course

Learn to code python programming language Learn to develop a Django web application using Python3 language. This course assumes no prior programming knowledge(language basics will help you), just ...

8 hrs 5.48 mins 0 Students Enrolled 60 Lectures

$19

90.45 % off $199

$19

Buy Now

Microsoft Excel Basic to Advanced Level

Lokesh Lalwani

0 (0) New Course

This course includes all levels of Excel-like Basic, Intermediate and Advanced. Every tutorial has its own practice file so that learner can watch the video and perform the task practical on a wor...

12 hrs 40.15 mins 0 Students Enrolled 147 Lectures

$39

90 % off $400

$39

Buy Now
View All
Item added successfully. Go to cart for checkout.
Accept Reject