How to list just container ID of all Docker containers
Also see:
- How to list just container names of all Docker containers
- How to list just container names & IP address(es) of all Docker conatiners
Use
docker ps -q
Example output:
$ docker ps -q
29f721fa3124
39a240769ae8
cae90fe55b9a
90580dc4a6d2
348c24768864
5e64779be4f0
78874ae92a8e
92650c527106
948a8718050f
7aad5a210e3c