描述
docker diff : 检查容器里文件结构的更改。
语法
docker diff [OPTIONS] CONTAINER
扩展
A 新增了文件或文件夹
B 文件或文件夹被删除了
C 文件或文件夹被改变了
实例
查看容器mymysql的文件结构更改。
$ docker diff 1fdfd1f54c1b C /dev C /dev/console C /dev/core C /dev/stdout C /dev/fd C /dev/ptmx C /dev/stderr C /dev/stdin C /run A /run/nginx.pid C /var/lib/nginx/tmp A /var/lib/nginx/tmp/client_body A /var/lib/nginx/tmp/fastcgi A /var/lib/nginx/tmp/proxy A /var/lib/nginx/tmp/scgi A /var/lib/nginx/tmp/uwsgi C /var/log/nginx A /var/log/nginx/access.log A /var/log/nginx/error.log