Found 126 Articles for Docker

Top skills that would be handy before taking up a technical role

Raunak Jain
Updated on 27-Oct-2020 08:15:35

82 Views

Getting through all the tedious interview rounds of big tech giants for internships and jobs is in itself a big task. But once you clear the interview rounds and secure a job or an internship, the journey does not end there. In fact, this will be the time you need to upskill yourself in order to keep up with the pace of shift in technological stacks that the tech industry goes throughIn this article, we will be discussing top skills that would be very handy if you would learn it before taking up the job or internship position. We will ... Read More

Running Docker Container as a Non Root User

Raunak Jain
Updated on 27-Oct-2020 08:09:27

7K+ Views

When you run an application inside a Docker Container, by default it has access to all the root privileges. You might have noticed that when you open an Ubuntu Docker Container Bash, you are logged in as the root user by default. This can prove to be a major concern in terms of security of the application. Any outsider can misuse this and hack the entire Container along with all the other files and applications running inside the Docker Container. Hence, it becomes very important to perform most of the trivial operations as a non root user wherever possible.In this ... Read More

Creating a MySQL Docker Container

Raunak Jain
Updated on 27-Oct-2020 08:07:38

505 Views

One of the most important features of Docker Containerization is that it creates a bounded environment for running the Application with all the necessary dependencies and packages installed. Most applications require a backend database to store data points. Oracle provides Docker Images for running MySQL inside Containers and thus it becomes an excellent choice for testing your database applications. It provides lightweight MySQL Image instances with cleanup features once your testing is completed.Docker allows you to download the Image containing the MySQL binaries and dependencies and creates a virtual filesystem. Note that if you start a Docker Container with the ... Read More

User defined bridge on Docker network

Raunak Jain
Updated on 27-Oct-2020 08:06:27

1K+ Views

In this article, we are going to discuss why you should use a user-defined bridge network over default bridge networks. We will also demonstrate the same using practical examples.If you use a user−defined bridge for Container networking, all the Containers in that network automatically exposes all the required ports to each other but not to the external world. This increases interoperability among the containers and provides better isolation.When you create Docker Containers using the default bridge network, accessing each other can only be done using IP addresses. But in case of user-defined bridge networks, you can access them using names ... Read More

Docker host network vs bridge network

Raunak Jain
Updated on 27-Oct-2020 08:04:58

5K+ Views

There are two types of single−host networks available for Docker Networking - “host” and “bridge” networks. Single−host networks mean that their effect is local to each individual host.In case of a host network, a particular Docker Container can directly use the Networking of the host for sending and receiving the packets. In the case of a bridge network, it requires port mapping to communicate.To understand them better, let’s create a nginx container with the help of host networking. Before creating a nginx container, let’s list all the available networks.sudo docker network lsYou will find a network with the name host ... Read More

Working with Docker Swarm

Raunak Jain
Updated on 27-Oct-2020 08:03:07

1K+ Views

If you are working on a microservice architecture, where you need to work on different project components on different machines and create a master slave architecture where the master nodes control the slave nodes, deploying your project through Docker Swarm might save you a lot of time, effort and resources.Docker Swarm is basically a cluster of physical or virtual machines called nodes which run docker containers separately and you can configure all these nodes to join a cluster managed by the master node called the swarm manager. It is an orchestration tool which allows you to manage multiple Docker Containers ... Read More

Working with Java inside Docker Container

Raunak Jain
Updated on 27-Oct-2020 08:01:46

3K+ Views

Java is one of the most popular enterprise languages right now. It is the core of object oriented programming and comes with great platforms to build enterprise level applications and testing platforms. For newbies, installing and getting accommodated with the Java environment might take some time initially.Docker Containers allow you to access Java Runtime Environment inside them, thus providing an easily manageable packaged environment with libraries already installed. If you have Docker installed on your local machine, instead of running Java applications and going through all the hustle, you can easily build a Java image by pulling it directly through ... Read More

Create a simple Numpy Jupyter Notebook using Docker

Raunak Jain
Updated on 27-Oct-2020 08:00:20

457 Views

Machine learning and Data Science have certainly become the new buzzword. Organizations are now trying to adopt Data Analytics and Machine learning techniques to predict their sales and to increase their revenue. No doubt, specializing machine learning techniques would surely give you an upperhand in today’s corporate world. If you want to build a machine learning model in a dynamic and contained environment, there can be no better option than using Docker containers.You can build and run your Machine Learning models easily inside Docker Containers with the help of Jupyter Notebooks. In fact, the packed environment of a Docker Container ... Read More

Build a flask App using Docker Compose

Raunak Jain
Updated on 27-Oct-2020 07:59:03

2K+ Views

Docker Compose allows you to build multi-container Docker applications. If you are working on a microservice project where you have different nodes working on different parts of the project, Docker Compose is exactly what you need. Using Docker Compose, you can work on different components of the project on different Docker Containers and combine them to create a single application.In this article, we are going to discuss how to build a Flask application which uses Python modules and we will try to run it inside a Docker Container using Docker Compose.First, you need to install Docker Compose in your local ... Read More

How to use an OVS Bridge for Networking on Docker?

Raunak Jain
Updated on 27-Oct-2020 07:57:52

3K+ Views

OVS bridges or Open vSwitch bridges are used as an alternative to the native bridges in linux. It supports most features which are in a physical switch while also supporting multiple vLANs on a single bridge. It is also widely used in Docker networking because it proves to be useful for multiple host networking and provides more secure communication compared to native bridges.In this article we will discuss how to perform docker networking using the Open vSwitch bridges (OVS). We will discuss the various commands which would help you to install OVS and the OVS utility for docker. We will ... Read More

Advertisements