OpenSource For You

Docker

-

Docker is the smartest and most prominent container in Linux to run an applicatio­ns environmen­t. Over the past few years, it has grabbed the most attention. Docker containers use most of the namespaces and cgroups present in systemd for providing a strong isolated environmen­t. Docker runs on the Docker daemon, which starts an isolated instance like systemdnsp­awn, in which any service can be deployed with just a few tweaks. It can be used as a sandboxing tool to run applicatio­ns securely or to deploy some software service inside it.

To get your first Docker container running, you need to first start the Docker daemon, and then download the base image from the Docker online repository, as follows:

While installing the Docker image, Docker automatica­lly creates a veth for Docker, which makes the Docker image connect to the main system. You can check this by using #ifconfig and pinging your main system. At any instance, you can save your Docker state as a new container by using the code given below:

Newspapers in English

Newspapers from India