containers

How to use concept of Networking in Docker ?

Reading Time: 4 minutes Introduction As we gave a basic introduction to Docker in this blog. Docker provides OS independent containers that run in an isolated environment. Docker networking enables these containers to communicate with other containers and other required places like the internet to gain the updates of applications. With the understanding of networking in Docker, we can create custom networks for our containers as per the requirements. Continue Reading

What is Docker ? How to use it ?

Reading Time: 3 minutes Docker is a software containerization platform, meaning you can build your application, package them along with their dependencies into a container and then these containers can be easily shipped to run on other machines. Now let’s talk about containers and containerization. Containers A container image is a lightweight, stand-alone, executable package of a piece of software that includes everything needed to run it: code, runtime, Continue Reading

Restart policies in a Docker container

Reading Time: 3 minutes To enable self-healing in a docker container, we can use restart policies in docker. There are three restart policies: on failure: It restarts the docker container if the container exits because of some failure or exits with a non-zero exit code. It will also restart the container when the Docker daemon restarts even if the containers were in a stopped state. always: It will always Continue Reading

Persistence in a Docker container

Reading Time: 3 minutes Can a docker container persist data? It is often believed that a docker container cannot persist data. In this blog, we will see how we can use docker containers to hold the data within them. We can run the docker container by: docker container runLet’s run a docker container: docker container run –name mycontainer -it ubuntu:latest /bin/bash Now let us write some data into some Continue Reading

docker

Understanding the docker-compose file

Reading Time: 3 minutes Hi Readers, In this blog will learn about the basics of a docker compose file. We will see what it is, why do we need this and most importantly see how we can begin with writing docker compose file. What is docker-compose file? It is a tool which is helpful in defining and running multi-container docker applications. We configure application services into a yaml file Continue Reading

OpenEBS – Container Attached Storage (CAS)

Reading Time: 4 minutes OpenEBS is the leading open-source project for container-attached and container-native storage on Kubernetes. OpenEBS adopts Container Attached Storage (CAS) approach, where each workload is provided with a dedicated storage controller. OpenEBS implements granular storage policies and isolation that enable users to optimize storage for each specific workload. OpenEBS runs in userspace and does not have any Linux kernel module dependencies.

Custom DynamoDB Docker Instance

Reading Time: 3 minutes Hey guys, I hope you all are doing well, I am back with another blog on custom docker instances for databases. In my last blog we saw how we can have our custom docker instance for MySQL. Similarly, in this blog we would look how we can do the same with DynamoDB, so let’s get started. So just like the scenario in previous blog, I Continue Reading

Docker : linking and working with multiple containers

Reading Time: 2 minutes Prerequisites Docker installation from here. Create an account on Docker Hub In my previous blog we had a quick overview of Docker technology. I suggest you to have a look at my previous blog for better understanding. Our application can have multiple services running in different containers. So In this blog we will know how to link multiple containers. Here we will take an example of mysql and Continue Reading