docker listing code example Example: docker list containers # List history of containers $ docker ps -a