docker show container name code example Example 1: docker ps only show names docker ps --format '{{.Names}}' Example 2: docker check running containers docker ps -a