Skip to content

Instantly share code, notes, and snippets.

@stevebakh
Created April 20, 2018 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save stevebakh/4fff35e54111713396de73441d916c68 to your computer and use it in GitHub Desktop.
Save stevebakh/4fff35e54111713396de73441d916c68 to your computer and use it in GitHub Desktop.
Formatting of `docker ps` output to strip ports - useful to set as an alias if mapping many ports produces large, wrapped output
docker ps --format "table{{.ID}}\t{{.Names}}\t{{.Image}}\t{{.RunningFor}}\t{{.Status}}"
@yogeshkumark
Copy link

clean

@iamtapu
Copy link

iamtapu commented Dec 9, 2021

Thanks. Exaclty what I wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment