Running First Docker Image

August 05, 2025
5 min read
Lalit Mahato
Running First Docker Image

Run your first container

Open your CLI terminal and start a container by running the docker run command:

docker run -d -p 8080:80 docker/welcome-to-docker

Verify the Container is running.

To verify if the container is running run the  following command in terminal

docker ps

Access the frontend

For this container, the frontend is accessible on port 8080. To open the website, visit http://localhost:8080 in your browser.

The output looks like the following.

 

 

Tags

Docker
Lalit Mahato

Lalit Mahato

Software Engineer | Machine Learning Enthusiast

Innovative and results-driven software developer with 5+ years of experience in designing, developing, and deploying high-quality software solutions. Proficient in various programming languages and technologies, with a keen interest in …

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment

Search

Categories

Related Posts

Dockerizing and Running AI model
Dockerizing and Running AI model

Aug 05, 2025

Read More
Introduction to Docker and Containers
Introduction to Docker and Containers

Aug 05, 2025

Read More
Docker Installation Guide for Linux
Docker Installation Guide for Linux

Jul 07, 2025

Read More