docker ps old containers code example Example: delete all containers created x hours ago # Delete all stopped containers docker container prune