1
What is Docker?
an open-source project that
automates the deployment of software applications inside containersby
providing an additional layer of abstraction and automation of OSlevel virtualization on Linux.
Wow! That's a mouthful. In
simpler words, Docker is a tool that allows developers, sys-admins etc. to
easily deploy their applications in a sandbox (called containers) to run
on the host operating system i.e. Linux. The key benefit of Docker is that it
allows users to package an
application with all of its dependencies into a standardized unit for software development. Unlike virtual machines,
containers do not have the high overhead and hence enable more efficient usage
of the underlying system and resources.
2
What are containers?
The industry standard today is
to use Virtual Machines (VMs) to run software applications. VMs run
applications inside a guest Operating System, which runs on virtual hardware
powered by the server’s host OS.
VMs are great at providing full
process isolation for applications: there are very few ways a problem in the
host operating system can affect the software running in the guest operating
system, and vice-versa. But this isolation comes at great cost — the
computational overhead spent virtualizing hardware for a guest OS to use is
substantial.
Containers take a different
approach: by leveraging the low-level mechanics of the host operating system,
containers provide most of the isolation of virtual machines at a fraction of
the computing power.
Install the docker in Linux
If you are
unable to install the Docker in EC2 server please follow the below steps
Step: 1 sudo
yum install yum-utils
Step: 2 sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
Step: 3: sudo yum install docker
Step: 2 sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
Step: 3: sudo yum install docker
Check the version of Docker installed on the Linux:
CMD: docker
–version
CMD: docker
–help
No comments:
Post a Comment