Docker Hello World Example
Overview
In this tutorial, we'll walk through a docker hello world example. Hello-world is one of the sample images provided by Docker.
After completing installation of Docker on Windows in the previous tutorial, will see how to test docker using sample hello world example.
Docker Tutorial :
- Install Docker On Windows
- Docker Hello World Example
- Install Prometheus using Docker
- Install Grafana using Docker
- Install RabbitMQ using Docker
What is Docker?
Docker is a set of platform as a service tools that deliver software in containers using OS-level virtualization. Containers are self-contained, containing their own software, libraries, and configuration files, and communicating with one another via well-defined channels. Docker makes it simple for developers to package, ship, and execute any application as a lightweight, portable, self-contained container that can operate almost anywhere.
To ensure that our docker is correctly set up. docker run hello-world
is the command to run.
A sample image is hello-world. When we run this command, Docker performs the procedures outlined in the diagram.