github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/man/src/container/diff.md (about)

     1  List the changed files and directories in a container᾿s filesystem since the
     2  container was created. Three different types of change are tracked:
     3  
     4  | Symbol | Description                     |
     5  |--------|---------------------------------|
     6  | `A`    | A file or directory was added   |
     7  | `D`    | A file or directory was deleted |
     8  | `C`    | A file or directory was changed |
     9  
    10  You can use the full or shortened container ID or the container name set using
    11  **docker run --name** option.
    12  
    13  # EXAMPLES
    14  
    15  Inspect the changes to an `nginx` container:
    16  
    17  ```bash
    18  $ docker diff 1fdfd1f54c1b
    19  
    20  C /dev
    21  C /dev/console
    22  C /dev/core
    23  C /dev/stdout
    24  C /dev/fd
    25  C /dev/ptmx
    26  C /dev/stderr
    27  C /dev/stdin
    28  C /run
    29  A /run/nginx.pid
    30  C /var/lib/nginx/tmp
    31  A /var/lib/nginx/tmp/client_body
    32  A /var/lib/nginx/tmp/fastcgi
    33  A /var/lib/nginx/tmp/proxy
    34  A /var/lib/nginx/tmp/scgi
    35  A /var/lib/nginx/tmp/uwsgi
    36  C /var/log/nginx
    37  A /var/log/nginx/access.log
    38  A /var/log/nginx/error.log
    39  ```