Member-only story

Master Docker: Essential Commands for Everyday Development

Naveen Metta
4 min readJan 23, 2025

--

credit goes to the owner : https://dockerlabs.collabnix.com/docker/cheatsheet/
source: dockerlabs.collabnix.com

Docker has become a must-have tool for developers. But with so many commands, it can be hard to know which ones are most useful. In this guide, we’ll look at the most helpful Docker commands that will make your daily work easier.

Basic Docker Commands

Let’s start with the commands you’ll use almost every day:

1. Check Docker Version

docker --version

This shows what version of Docker you’re using. It’s helpful when you need to make sure you have the latest updates.

2. See Running Containers

docker ps

This shows all containers that are running right now. If you want to see all containers (even stopped ones), use:

docker ps -a

3. Pull Images

docker pull ubuntu

This downloads a Docker image from Docker Hub. Think of it like downloading an app from an app store. You can also pull specific versions:

docker pull ubuntu:20.04

4. Run Containers

docker run ubuntu

--

--

Naveen Metta
Naveen Metta

Written by Naveen Metta

I'm a Full Stack Developer with 3+ years of experience. feel free to reach out for any help : mettanaveen701@gmail.com

No responses yet