Linux/Docker/Docker ps format

From Wiki
< Linux‎ | Docker
Revision as of 04:25, 13 March 2019 by Marcluer (talk | contribs)

to avoid line breaks, when running "docker ps":

mkdir ~/.docker
touch ~/.docker/config.json

edit config.json

{
        "psFormat": "table {{.Names}}\\t{{.Image}}\\t{{.RunningFor}} ago\\t{{.Status}}\\t{{.Command}}"
}