DEV Community

Cover image for Day 7 of My Cloud Journey: Getting Started with Docker & Containerization
Avinash wagh
Avinash wagh

Posted on

Day 7 of My Cloud Journey: Getting Started with Docker & Containerization

Over the past few days of my cloud learning journey, I explored different parts of AWS infrastructure.

From deploying applications to designing secure cloud networks, each day has helped me understand how modern cloud systems are built.

Quick recap of the previous learning days:

Day 3 – Deployed a web application on a Linux server using Amazon EC2 and Nginx
Day 4 – Hosted a static website using Amazon S3
Day 5 – Explored backend services with Amazon RDS, DynamoDB, and AWS Lambda
Day 6 – Built secure cloud networks using AWS VPC, VPC Peering, and Billing Alerts

After learning about infrastructure and networking, the next logical step in my journey was:

Containerization with Docker.

Docker is one of the most important tools used in modern DevOps and Cloud Engineering workflows.

πŸš€ Objective of Day 7
The goal today was to understand:

β€’ What Docker is
β€’ Why containers are used in modern application development
β€’ How to run containers using Docker
β€’ Basic Docker commands and container lifecycle

🐳 Step 1: Understanding Docker
Docker is a platform that allows developers to package applications and their dependencies into containers.

A container ensures that an application runs the same way in every environment.

For example:

A developer might build an application on their local machine, but it could fail when deployed to a server because of missing dependencies or different system configurations.

Docker solves this problem by packaging:

Application code
Runtime
Libraries
Dependencies
System tools

All inside a single container image.

This makes applications portable, consistent, and easy to deploy.

🧩 Step 2: Installing Docker
To start working with containers, I installed Docker and verified the installation.

Docker provides a command-line interface to manage containers and images.

To test the installation, I ran the famous hello-world container.

Example command:

docker run hello-world
This command downloads the image from Docker Hub and runs it inside a container.

Seeing the successful output confirmed that Docker was installed and working correctly.

βš™οΈ Step 3: Running Basic Containers
Next, I experimented with simple containers using lightweight images.

For example, running an Alpine Linux container:

docker run alpine
This allowed me to understand how containers start, execute commands, and stop after completion.

I also explored commands like:

docker ps
docker ps -a
docker stop
These commands help manage running and stopped containers.

πŸ“¦ Step 4: Understanding Docker Images
Another key concept is Docker Images.

An image is a template used to create containers.

Images can be downloaded from Docker Hub, which is a public registry containing thousands of ready-to-use images.

Examples include:

Nginx
Node.js
Python
MySQL
Redis

Using images, developers can quickly deploy applications without manually installing dependencies.

🧠 Key Technical Takeaways
Today’s learning introduced several important DevOps concepts:

β€’ Containers package applications with their dependencies
β€’ Docker ensures applications run consistently across environments
β€’ Docker images act as templates for containers
β€’ Containers are lightweight and start very quickly
β€’ Docker commands help manage container lifecycle

Understanding Docker is a fundamental skill for Cloud Engineers and DevOps Engineers.

🎯 Reflection
Over the past few days, my learning journey has expanded from cloud infrastructure to containerization.

Day 3
Application deployment on EC2 with Nginx

Day 4
Static website hosting using S3

Day 5
Backend systems using RDS, DynamoDB, and Lambda

Day 6
Cloud networking with VPC and billing alerts

Day 7
Introduction to Docker and containerization

Each step is helping me understand how modern cloud-native applications are built and deployed.

The next step in this journey will be exploring:

Dockerfiles
Building custom images
Running applications inside containers
Deploying containers in the cloud

This is just the beginning of my Docker and containerization journey.

More learning ahead. πŸš€

Top comments (2)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.