github.com/nf/docker@v1.8.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 weight=1 9 +++ 10 <![end-metadata]--> 11 12 # diff 13 14 Usage: docker diff CONTAINER 15 16 Inspect changes on a container's filesystem 17 18 List the changed files and directories in a container᾿s filesystem 19 There are 3 events that are listed in the `diff`: 20 21 1. `A` - Add 22 2. `D` - Delete 23 3. `C` - Change 24 25 For example: 26 27 $ docker diff 7bb0e258aefe 28 29 C /dev 30 A /dev/kmsg 31 C /etc 32 A /etc/mtab 33 A /go 34 A /go/src 35 A /go/src/github.com 36 A /go/src/github.com/docker 37 A /go/src/github.com/docker/docker 38 A /go/src/github.com/docker/docker/.git 39 ....