Docker Basics & Commands for DevOps

📅 #100DaysOfDevOps – Day 25 Continuing my #100DaysOfDevOps learning journey. 🔹 Day 25 Focus: Docker Basics & Commands Today I started learning Docker, which is widely used for containerization in DevOps. 🔹 What is Docker? Docker is a platform used to build, package, and run applications in containers, making them portable and consistent across different environments. 🔹 Key Concepts • Image – Blueprint of an application • Container – Running instance of an image • Dockerfile – Script to build images • Docker Hub – Repository to store images 🔹 Basic Docker Commands • docker --version – Check Docker version • docker pull image-name – Download image from Docker Hub • docker images – List images • docker run image – Run a container • docker run -d -p 1111:80 --name cont-1 image-name – Run container in background with port mapping and name • docker ps – Running containers • docker ps -a – All containers • docker stop container_id – Stop container • docker start container_id – Start container • docker rm container_id – Remove container • docker rmi image_id – Remove image Learning Docker is an important step towards building and managing containerized applications. Step by step moving deeper into DevOps tools and practices 🚀 #100DaysOfDevOps #Docker #DevOps #Containers #CICD #LearningJourney #ContinuousLearning #DevOpsJourney #TechGrowth #KeepLearning

  • graphical user interface

Once the basic commands feel comfortable, try running a real app with a Dockerfile and port mapping - that’s where Docker starts to move from commands to real understanding.

To view or add a comment, sign in

Explore content categories