This is a list with some Docker commands. I hope that help you! 😊
Enter inside a container.
docker exec -it <CONTAINER_NAME> <COMMAND>
Clean your Docker environment.
docker system prune -af
- Stop all containers.
docker stop $(docker ps -aq)
- Remove all containers.
docker rm $(docker ps -aq)
- Remove all images.
docker rmi $(docker images -a)
- Remove all volumes.
docker volume prune -f
- Remove all network.
docker network prune -f