Impostare un formato di default per il comando docker ps: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

24 July 2023

  • curprev 13:4913:49, 24 July 2023 Gabriele.vivinetto talk contribs m 6,890 bytes +22 No edit summary
  • curprev 13:4813:48, 24 July 2023 Gabriele.vivinetto talk contribs 6,868 bytes +6,868 Created page with "TL;DR: mkdir -p ~/.docker cat << EOFile >> ~/.docker/config.json { "experimental": "enabled", "psFormat": "table {{printf \"%.20s\" .Names}}\t{{.Image}}\t{{.Command}}\t{{.ID}}\t{{printf \"%.15s\" .Status}}" } EOFile Start with a normal `docker ps` output: <pre> $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4edf61bfedce prom/node-exporter:latest "/bin..."