Menu

1 / 2

Developer Journal..“My First Docker + Nginx Setup on Ubuntu”

DEV Community·Lau!·6 months ago
#DKVpnAhz
#docker#nginx#learning#linux#container
Reading 0:00
15s threshold

Hello Everyone!

A while ago, I decided to learn Docker and, honestly, it turned out to be much simpler than I expected. In this article, I’ll walk you through how I configured Docker on Windows using WSL (Windows Subsystem for Linux) and ran my very first container.

If you're a developer using Windows and want to get into Docker, this post is for you.

Spoiler: At the end, you’ll see the Nginx welcome page in your browser — and that feeling is amazing 🎉

What is Docker? (In Simple Terms)

Docker is a platform that allows you to package your application inside a “container” — an isolated and portable environment that behaves the same way on any machine.

Think of it as a sealed box containing everything your app needs to run.

Prerequisites

Before getting started, you’ll need:

✅ Windows 10 or 11

✅ WSL (Windows Subsystem for Linux) enabled

✅ A Linux distribution installed (we’ll use Ubuntu)

✅ PowerShell running as Administrator

Step 1: Verify and Install WSL

WSL allows you to run Linux commands…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.