docker_notes:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docker_notes:docker [2024-04-01 Mon wk14 11:35] – [docker ps command] baumkpdocker_notes:docker [2024-04-01 Mon wk14 13:26] (current) baumkp
Line 1: Line 1:
 {{tag>linux docker cli installation network volume iptables nftables portainer}} {{tag>linux docker cli installation network volume iptables nftables portainer}}
-Much of this material was originally sourced from: [[https://github.com/xcad2k/cheat-sheets/blob/main/docker/docker.md|xcad2k cheat-sheets/docker/docker.md]]+Much of this material was originally sourced from: [[https://github.com/ChristianLempa/cheat-sheets/blob/main/docker/docker.md|cheat-sheets/docker/docker.md]]
  
  
Line 243: Line 243:
 <code>CONTAINER ID   IMAGE                                           NAMES</code> <code>CONTAINER ID   IMAGE                                           NAMES</code>
   *''%%docker ps -s --format 'table {{ .ID }}\t{{.Status}}\t{{.Image}}\t{{ .Names }}'%%''   *''%%docker ps -s --format 'table {{ .ID }}\t{{.Status}}\t{{.Image}}\t{{ .Names }}'%%''
-CONTAINER ID   STATUS                  IMAGE                                           NAMES+<code>CONTAINER ID   STATUS                  IMAGE                                           NAMES</code>
   *''%%docker ps -s --format 'table {{ .ID }}\t{{.Status}}\t{{.Image}}\t{{ .Names }}\t{{.Size}}'%%''   *''%%docker ps -s --format 'table {{ .ID }}\t{{.Status}}\t{{.Image}}\t{{ .Names }}\t{{.Size}}'%%''
-CONTAINER ID   STATUS                  IMAGE                                           NAMES               SIZE +<code>CONTAINER ID   STATUS                  IMAGE                                           NAMES               SIZE</code>
  
 +===reference===
 +  *[[https://devdojo.com/bobbyiliev/how-to-change-the-docker-ps-output-format|How to change the docker ps output format]]
 +  *Docker Docs
 +    *[[https://docs.docker.com/reference/cli/docker/container/ls/|docker container ls]]
 +    *[[https://docs.docker.com/storage/storagedriver/#container-size-on-disk|Container size on disk]]
 ====Backup a container==== ====Backup a container====
 Backup docker data from inside container volumes and package it in a tarball archive.\\ Backup docker data from inside container volumes and package it in a tarball archive.\\
  • /app/www/public/data/attic/docker_notes/docker.1711942504.txt.gz
  • Last modified: 2024-04-01 Mon wk14 11:35
  • by baumkp