docker diff
Table of Contents:
Command Name:
docker diff
Description:
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:
A – A file or directory was added
D – A file or directory was deleted
C – A file or directory was changed
Syntax:
easywhatis$ docker diff --help
Usage: docker diff CONTAINER
Inspect changes to files or directories on a container's filesystem
easywhatis$ docker ps -a
Example:
easywhatis$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a5bb226d1850 ubuntu "bash" 9 minutes ago Up 8 minutes eloquent_knuth
easywhatis$ docker diff a5b
C /root
A /root/.bash_history
easywhatis$