Docker: Installing Docker and Understanding basic docker commands

Docker: Installing Docker and Understanding  basic docker commands

“Docker: Understanding Docker Architecture and Components”, The First thing we are going to do is to run the “docker run hello-world” command. This command tries to find the “hello-world” image locally and if not found, it then downloads an image from the docker hub and runs the container out of this image.

Now since we have understood the basic architecture of Docker in my previous tutorial titled Docker: Understanding Docker Architecture and Components, lets now learn how to install Docker and run some basic commands.

Pre-requisites

  1. For our demonstration, we will be using centos-07.
  2. We will be using 1 machine for our lab with the below IP details:

192.168.33.61 docker.unixlab.com

3. The memory should be at least 2 GB and there should be at least 2 core CPU.

Understanding Basic docker commands:

The First thing we are going to do is to run the *“docker run hello-world” *command.

This command tries to find the “hello-world” image locally and if not found, it then downloads an image from the docker hub and runs the container out of this image.

automation containerization docker-container docker docker-image

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Docker Image and Container

Docker enables developers to easily pack, ship, and run any application as a lightweight, portable, self-sufficient container, which can run virtually anywhere. … Containers do this by enabling developers to isolate code into a single container. This makes it easier to modify and update the program

Docker Containers!What is a Docker Container?

I never knew anything about dockers till about 7–8 weeks ago (as of writing this). I had come into contact with dockers only because of a…

Docker creating an image | Build and run your image | Docker Fundamentals

Docker create an image from a container | Creating your own image | How to create Docker Image from a Container and Dockerfile

Docker: Advance Docker Commands and pushing image to Docker Hub

While my previous article titled, “Docker: Installing Docker and Understanding basic docker commands”, provides detailed information about how to install docker and some basic commands, In this article, we are going to see some advanced docker commands.

Removing Docker Images

In a previous article, we explained the difference between Docker images and Docker containers. In short: An image is like a Java class, and containers are like Java objects. In this tutorial, we'll look at the various ways of removing Docker images.