Useful docker commands for everyday use!
Docker helps developers bring their ideas to life by conquering the complexity of app development. We simplify and accelerate development workflows with an integrated dev pipeline and through the consolidation of application components.
Useful docker commands
Below is a collection of useful docker commands that I use often
Run a docker compose
Remember cd to the directory containing the compose file before running
docker-compose up
Run and rebuild docker compose
docker-compose up --build
List runing container
docker ps
List all container
docker ps -a
Remove image
docker rmi [image-id]
Stop container
docker stop [container-id]
Lzdev always ready to support. I hope with this collection could help you work efficiently and happily.