mirror of
https://github.com/moby/moby.git
synced 2026-01-12 03:01:38 +00:00
Command name should be a H1
Only Description, Examples, and Related Commands should be H2
Changed 'Related information' heading to 'Related commands' since 99% it is only linking commands
Added some examples where relevant
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
(cherry picked from commit 52df69f00d)
1.1 KiB
1.1 KiB
title, description, keywords
| title | description | keywords |
|---|---|---|
| diff | The diff command description and usage | list, changed, files, container |
diff
Usage: docker diff CONTAINER
Inspect changes on a container's filesystem
Options:
--help Print usage
Description
List the changed files and directories in a container᾿s filesystem since the container was created. Three different types of change are tracked:
A- AddD- DeleteC- Change
For example:
$ docker diff 7bb0e258aefe
C /dev
A /dev/kmsg
C /etc
A /etc/mtab
A /go
A /go/src
A /go/src/github.com
A /go/src/github.com/docker
A /go/src/github.com/docker/docker
A /go/src/github.com/docker/docker/.git
....