Docker Networking

How docker networking works.


In recent articles, we talked about containers a lot like the below articles. In this article also we are going to continue the same trend and talk about how docker networking works. To understand very basic docker networking we need some knowledge beforehand. Lets read about namespaces in linux, veth pair and bridge. Namespaces: Namespaces

Docker components and how they interact.

Docker components and how they interact.


When we talk about containers a big name that comes into picture is docker. Docker is a leading container platform and provides all the functionalities required in the life cycle of a container. In this article, we will talk about docker components and how they work together. Docker consists of the following components. Docker Daemon:

life cycle of a container

The life cycle of a container


If you working in a DevOps or SRE environment, it is very rare to find a person who has not heard of the name containers. In this article, we talk about the life cycle of a container. For this purpose, we will use docker for a container runtime. Let’s have a look at the docker

sub-languages of sql

Different sub-languages of SQL.


When we talk about databases. One of the biggest types that exists is SQL. SQL or Structured Query Language is used where you have to keep data that is relational in nature. Mysql, Postgres, DB2 are the different software that implements it. SQL comprises of many sub-languages that provide different capabilities to SQL. The capabilities

What are generWhat are generators in pythonators in python

Generators in Python


Generators are just like normal functions, what makes functions generators in yield statement instead of the return statement. Also since you starting to read about generators, you should have a look at Iterators in python and how it works.Lets read about generators in python. What is yield? Yield is a keyword that is used to

Best practices for programming

Best practices for programming


In this article, we will talk about best practices for programming in any language. Add readability to your code as much as possible. The function name should tell what this function does. The function should be visible in one screen. You should not scroll to view the whole function. Try to write pure functions instead

iterators in python

Iterators in python and how to create them


Generally, iterators are used to iterate over a list of objects. We use iterators without knowing we are using it. Let’s understand Iterators in python and look at the below example a = [1,2,4,5,6,7,8] for i in a: print(i) Here we have used iterator behind the scenes of for-in to loop over a list. How to create

snat

What are SNAT and DNAT


If you are working as a DevOps you must have heard the name NAT. In this article, we will talk about them and SNAT and DNAT. NAT (Network Address translator) is generally used when you want to hide one side of the network and show it as a single IP. NAT keep a connection table