learning-docker/Ex_Files_Learning_Docker_Upd/Exercise Files/reformat.sh

3 lines
195 B
Bash
Raw Normal View History

2020-11-26 15:00:54 +11:00
export FORMAT="\nID\t{{.ID}}\nIMAGE\t{{.Image}}\nCOMMAND\t{{.Command}}\nCREATED\t{{.RunningFor}}\nSTATUS\t{{.Status}}\nPORTS\t{{.Ports}}\nNAMES\t{{.Names}}\n"
# this shell will only work on bash