Useful Docker commands and snippets
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker logs <CONTAINER_ID_OR_NAME>
docker logs -f --tail 10 <CONTAINER_ID_OR_NAME>
docker exec -it <CONTAINER_ID_OR_NAME> bash
docker images --filter 'reference=<PREFIX>*'
docker images --filter 'reference=<PREFIX>/*'
docker inspect -f '{{ .Mounts }}' <CONTAINER_ID_OR_NAME>