Linking and working with multiple containers with Docker

docker

In the last post we discussed how to work with single containers, in this post we will discuss how to work with multiple containers.

Linking docker containers with links

  • Links allow containers to discover each other and securely transfer information about one container to another container.
  • When you set up a link, you create a conduit between a source container and a recipient container.

In this example we are going to link the two containers shown below

Here is the complete video of the above discussion

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

ExecuteAutomation now in GitHub

Today I am very excited and happy to announce that ExecuteAutomation is now publicly available in GitHub, which means all the greatest courses source code available for FREE and paid in ExecuteAutomation will be available in GitHub as working project instead of just snippets of code, which was a pain (reported by many of you) before.

As of now in ExecuteAutomation repo of GitHub has only 7 repos as an initial kick start, but moving forward, as there will be more repos along with people contributing towards the repo.

Here is the complete video of the above discussion as promo launch video

 

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Pulling and working with docker containers from docker hub

docker

In the last post we discussed how to work with commands in docker. In this post, we will discuss how to work with docker containers from docker hub.

What will happen while pulling an container ?

  1. The Docker client contacted the Docker daemon.
  2. The Docker daemon pulled the image from the Docker Hub.
  3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.
  4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal

Here are the complete videos of the above discussion

Part A

Part B

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

 

Working with Docker commands

docker

In the last post we discussed about the understand of docker and containers, in this post, we will finally start working with containers via docker commands.

Here are some of the commands you can see for docker

We will work with these command in greater detail in the video below

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Understanding and working with docker containers

docker

In the last post we discussed an introduction to docker, in this post we will understand what a container is and how important containers are in docker world.

What is containers ?

  • They are an isolated, resource controlled, and portable operating environment.
  • Basically, a container is an isolated place where an application can run without affecting the rest of the system and without the system affecting the application. Containers are the next evolution in virtualization.
  • If you were inside a container, it would look very much like you were inside a freshly installed physical computer or a virtual machine.

We can browse all the different containers from http://hub.docker.com 

So what these containers has ?

  • Operating System
  • Software that you build
  • Dependencies to run the software’s (like pre-requisite softwares)
  • Environment variables
  • And you name it

What if I change something in my software and dependencies ?

Docker includes git-like capabilities for tracking successive versions of a container, inspecting the diff between versions, committing new versions, rolling back etc.

The history also includes how a container was assembled and by whom, so you get full traceability from the production server all the way back to the upstream developer.

Docker also implements incremental uploads and downloads, similar to git pull, so new versions of a container can be transferred by only sending diffs. Read more

An Introduction to Docker

docker

In this first post on docker we will understand what docker is and how will docker empower in automation testing world, but since this is an introduction to docker, we will not deal or discuss anything about automation testing yet.

docker

What is Docker ?

  •  In a nutshell, it’s a software containerization platform
  •  It provides abstraction of operating-system level virtualization

Everything which we are going to work with is containers, hence containers play a key role in docker world, these containers contains the real

  • Operating System
  • Software that you build
  • Dependencies to run the software’s (like pre-requisite softwares)
  • Environment variables
  • And you name it

How docker achieved containers?

It was made possible with the help of LXCs (Linux containers)

LXCs are user space interface for the Linux kernel containment which make it possible to run multiple isolated Linux containers, on one control host (the LXC host).

Linux Containers serve as a lightweight alternative to VMs as they don’t require the hypervisors like.

  • Virtualbox,
  • KVM,
  • Xen etc.

Here is the complete video of the above discussion

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK

Working with methods in C#

C#

In the last post we discussed how to work with different types in C#, in this post we will discuss how to

  • Work with methods
  • Methods with different parameters (method overloading)
  • Methods with return types

Here is the complete videos of the above topics

Methods with return types

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Thanks,
Karthik KK