Docker: Common docker commands
A short, tested Docker example for common docker commands. Copy it and adjust the names and paths for your project.
Docker
docker ps -a # containers
docker logs -f web # follow logs
docker exec -it web sh # shell inside
docker stop web && docker rm web
docker images
docker system prune # remove unused dataFind it in Zest
Search for “docker common docker commands” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.