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

3 lines
195 B
Bash
Executable File

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