docker ps -q

Category: Docker

docker ps -q

List only container IDs of running containers

Lists only the container IDs (not full info) of running containers — useful for scripting.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.