Inspect changes to files or directories on a container’s filesystem


List the changed files and directories in a container᾿s filesystem since the container was created. Three different types of change are tracked:

docker diff CONTAINER

Extended description

AA file or directory was added
DA file or directory was deleted
CA file or directory was changed

docker run –name version-a busybox:latest touch /HelloWorld

docker diff version-a

A /HelloWorld

Different comparison check of the current version of Docker version-a against Docker busybox.