• Usage: Displays only the IDs of the results, such as container IDs or image IDs.

  • Command:

    docker ps -q
    
    
    • This command lists only the container IDs of running containers.