Playing around with Docker containers
Before indulging with Docker, let's take a look into containers.
Containers
Containers are kernel level virtualization, unlike hypervisor virtualization, where one or more independent machines run virtually on physical hardware via an intermediation layer. Containers run the user space on top of an operating system's kernel. Some of the containerization technologies are LXC and FreeBSD Jails. Now, let’s take a look at Docker.
Docker
Docker is a containerization tool that runs on the top of libcontainer, and in the previous version, it used LXC as the default execution environment. It provides native API and command-line client binary Docker. Docker is a client-server application. The Docker client talks to the Docker server or daemon, which, in turn, does all the work. You can run the Docker daemon and client on the same host or connect your local Docker client to a remote daemon running on another host.
The core components of Docker are as follows:
- Docker...