github.com/tompao/docker@v1.9.1/docs/reference/commandline/diff.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "diff"
     4  description = "The diff command description and usage"
     5  keywords = ["list, changed, files, container"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # diff
    12  
    13      Usage: docker diff [OPTIONS] CONTAINER
    14  
    15      Inspect changes on a container's filesystem
    16  
    17        --help=false        Print usage
    18  
    19  List the changed files and directories in a container᾿s filesystem
    20   There are 3 events that are listed in the `diff`:
    21  
    22  1. `A` - Add
    23  2. `D` - Delete
    24  3. `C` - Change
    25  
    26  For example:
    27  
    28      $ docker diff 7bb0e258aefe
    29  
    30      C /dev
    31      A /dev/kmsg
    32      C /etc
    33      A /etc/mtab
    34      A /go
    35      A /go/src
    36      A /go/src/github.com
    37      A /go/src/github.com/docker
    38      A /go/src/github.com/docker/docker
    39      A /go/src/github.com/docker/docker/.git
    40      ....