github.com/yogeshlonkar/moby@v1.13.2-0.20201203103638-c0b64beaea94/man/docker-diff.1.md (about) 1 % DOCKER(1) Docker User Manuals 2 % Docker Community 3 % JUNE 2014 4 # NAME 5 docker-diff - Inspect changes to files or directories on a container's filesystem 6 7 # SYNOPSIS 8 **docker diff** 9 [**--help**] 10 CONTAINER 11 12 # DESCRIPTION 13 List the changed files and directories in a container᾿s filesystem since the 14 container was created. Three different types of change are tracked: 15 16 | Symbol | Description | 17 |--------|---------------------------------| 18 | `A` | A file or directory was added | 19 | `D` | A file or directory was deleted | 20 | `C` | A file or directory was changed | 21 22 You can use the full or shortened container ID or the container name set using 23 **docker run --name** option. 24 25 # OPTIONS 26 **--help** 27 Print usage statement 28 29 # EXAMPLES 30 31 Inspect the changes to an `nginx` container: 32 33 ```bash 34 $ docker diff 1fdfd1f54c1b 35 36 C /dev 37 C /dev/console 38 C /dev/core 39 C /dev/stdout 40 C /dev/fd 41 C /dev/ptmx 42 C /dev/stderr 43 C /dev/stdin 44 C /run 45 A /run/nginx.pid 46 C /var/lib/nginx/tmp 47 A /var/lib/nginx/tmp/client_body 48 A /var/lib/nginx/tmp/fastcgi 49 A /var/lib/nginx/tmp/proxy 50 A /var/lib/nginx/tmp/scgi 51 A /var/lib/nginx/tmp/uwsgi 52 C /var/log/nginx 53 A /var/log/nginx/access.log 54 A /var/log/nginx/error.log 55 ``` 56 57 58 # HISTORY 59 April 2014, Originally compiled by William Henry (whenry at redhat dot com) 60 based on docker.com source material and internal work. 61 June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>