display only names of container



show conf
[lab@openstack ~]$ sudo docker ps 
CONTAINER ID        IMAGE       COMMAND                  CREATED             STATUS              PORTS               NAMES



[lab@openstack ~]$ sudo docker ps --format "{{.Names}}"
analytics_snmp-collector_1
analytics_nodemgr_1
analytics_api_1
analytics_query-engine_1
analytics_alarm-gen_1
analytics_topology_1
analytics_collector_1
analytics_database_nodemgr_1
analytics_database_zookeeper_1



[lab@openstack ~]$ sudo docker ps --format "{{.Image}}"