I am getting output for docker services in linux server (docker ps -a - linux command) . it will list the services.
i was unable to spilt the fields properly. pls help with that.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
93201914aec5 3.2.1.109:50/help-documentation-app:0.1.13 "httpd-foreground" 18 hours ago Up 18 hours 80/tcp PAContainer_helpservice.1.r3b5796b5jm8x5sxu4iec1br6
3601ae2ab0ea 1.22.7.19:500/downtime-app:0.6.10-8.1_SIM1 "/bin/sh -c 'node di…" 18 hours ago Up 18 hours 4200/tcp PAContainer_downtime-app.1.jvd57hdy01syxh6hon2r3f7dr
f869d2cd58bf haoxy:1.8 "/bin/bash -c 'sourc…" 18 hours ago Up 18 hours PAContainer_haproxy.1.eol3crx27srigpgjrpw31te2j
430e3d3fe2c3 13.2.167.19:500/productionmetrics-app:0.5.17 "/bin/sh -c 'node di…" 18 hours ago Up 18 hours 4200/tcp