Docker Basic Commands

Today, we focused on mastering essential Docker housekeeping commands to manage containers, images, volumes, and perform clean-up tasks effectively.

🧠 Concepts Covered

  • Listing running and stopped containers
  • Removing stopped containers and unused images
  • Managing Docker volumes
  • Executing commands inside running containers
  • Understanding how Docker resources accumulate over time and how to keep your environment clean

🔧 Docker Commands Practiced

CONTAINER

🔍 List Containers

docker ps              # Lists only running containers
docker ps -a           # Lists all containers (including stopped ones)

🧹 Remove Containers

docker rm <container_id>   # Removes a specific container by ID or name

💡 Tip: Use `docker …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help