Docker : Brief Introduction – Part 2

Initially, Docker was used as a  Linux containerization tool. Support for other environments such as Windows and MacOS was added later. In this post, let us take a look at how to install Docker in the Linux platform and how to create the Docker images.

Installation of Docker at Linux (Ubuntu or similar) machine

Installation of Docker at Linux is usually pretty straightforward.

1) Open the Linux terminal

2) Run the command “sudo apt-get -y install docker.io

 

3) To verify the installation, use “sudo docker run hello-world

 

4) To get more details about how to use the docker command use “docker –help”

To get the help screen about a specific Docker command, use “docker <command> –help”

Example :

To get the version information use “docker version” command.

Scroll to Top