The command docker diff can be used to inspect the changes made to files or directories on a container’s filesystem
Usage:
docker diff CONTAINER
This docker diff command list the files and directories that are changed in a container᾿s filesystem from the time of container created.
You can enroll in this Docker Training Online Course by Intellipaat to learn Docker.
Also, you can watch this Docker commands tutorial: