A Word on ‘Docker Buildx’

What is Docker Buildx?

Docker Buildx can be defined as a CLI plugin that provides us with the extra features supported by the Moby BuildKit builder toolkit along with the features of the normal docker commands. Furthermore, it also provides us with the same user experience as building with the docker build command.

Also, along with some new extra features added over it like building against multiple nodes with multi-arch images concurrently, builder instances, etc. In addition to that, buildx also supports new features that are not yet available for regular docker build like building manifest lists, distributed caching, etc.

Understanding Docker Concepts

Hey guys,

As a fresher, I faced a lot of challenges understanding docker concepts like how docker containers work and what they actually are. But as I grew and practiced Docker and its concepts I understood their actual meaning and how they form and how they actually are managed. Through this above video, I have tried my level best to give it a try to make you guys understand what docker container actually means and some basic docker command to shoot. Please avoid the audio quality as I made the entire video with minimum equipment. 

How to Install Docker on Ubuntu 18.04

In this article, you’ll install and use Docker Community Edition (CE) on Ubuntu 18.04. 

Prerequisites

  • Ubuntu 18.04 64-bit operating system.
  • A user account with sudo privileges

Installing Docker

The Docker installation package available in the official Ubuntu repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package.

Understanding Docker Networking

When we talk about Docker, we say that containers are isolated. How do we communicate with our containers, or other applications like MySQL database? It is not useful if we can't access it.

Docker has a network concept. It has several network drivers to work with. Depending on how we want our container to behave, we can select our network. This helps us to connect container with a container or container with host.

An Introduction to Docker and Containerization

What is Docker?

Docker is both, a brand and a technology. It was developed under the Open Container Initiative by Docker (the company, formerly known as dotCloud) when it virtually went bankrupt. Docker (the product) not only helped it raise funds, but also paved a way for its strong revival into the game. On a Linux platform, it allows an end user to run multiple containers out of which each container can hold a single application. In precise technical terms, when you run an application on an operating system, it runs on its "user space," and every OS comes with a single instance of this user space. In Docker, every container has one separate user space to offer. What this means is that containers enable us to have multiple instances of user spaces on a single operating system. Therefore, in the simplest terms, a container is just an isolated version of a user space. That’s it!

How Is It Different From VMs?

Docker is different from a VM in the following ways: