docker ps id only code example Example 1: docker ps only show names docker ps --format '{{.Names}}' Example 2: docker ps view command docker ps --no-trunc