Most Used Docker Commands – Essential Shortcuts for Developers | Eduardo Rocha

Imagem de Eduardo Rocha
Published by:
Eduardo Rocha

Share on social media

17 de fev. de 2025

Shortcuts: Most Used Commands in Docker

This post aims to help with shortcut commands in your project using docker-compose

1) To upload the project to your machine

docker-compose up -d

2) To drop the project on your local machine

docker-compose down

3) To check in the terminal if there is any active docker project

docker ps

4) To rebuild your project

docker-compose build --no-cache

5) To clean up the created docker images on your local computer

docker system prune -a

6) When you have problems taking down docker

sudo aa-remove-unknown

I hope I can help you with this post!

Photo the Christina Morillo: https://www.pexels.com/pt-br/foto/duas-pessoas-segurando-um-macbook-pro-1181275/

Related Tags

Share on social media