Docker Show Docker Version

DockerDockerBeginner
Practice Now

Introduction

Welcome to the ancient Amazon jungle! You are a fierce Amazonian warrior, equipped with the knowledge of Docker technologies. Your mission is to uncover the secrets of the Docker version in this ancient land, as it holds the key to unlocking powerful containers that can aid your tribe in their battles. Embrace the challenge and let's embark on this adventurous journey!


Skills Graph

%%%%{init: {'theme':'neutral'}}%%%% flowchart RL docker(("`Docker`")) -.-> docker/SystemManagementGroup(["`System Management`"]) docker/SystemManagementGroup -.-> docker/version("`Show Docker Version`") subgraph Lab Skills docker/version -.-> lab-271509{{"`Docker Show Docker Version`"}} end

Explore Docker Version

In this step, you will begin by exploring the Docker version installed in the ancient Amazon jungle. Run the following command to display the Docker version:

docker version

Run Hello World Container

Now, let's put your Docker skills to the test. Create and run a simple 'Hello World' Docker container using the following command:

docker run --name hello-world hello-world

Pull and Run NGINX Image

Continuing your journey, pull the NGINX Docker image and run a container based on it with the following commands:

docker pull nginx
docker run -d -p 8080:80 --name mynginx nginx

Summary

In this lab, you embarked on an adventurous journey through the ancient Amazon jungle as an Amazonian warrior with Docker expertise. You explored the Docker version, ran a 'Hello World' container, and harnessed the power of NGINX through Docker containers. Through this immersive experience, you gained practical insights into Docker version management and leveraging containerized applications for your tribe's endeavors.

Other Docker Tutorials you may like