Files
moby/docs/reference/commandline/diff.md
Misty Stanley-Jones 68e914ce62 Standardized formatting of CLI reference commands
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)
2017-04-03 15:12:33 -07:00

1.1 KiB
Raw Permalink Blame History

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:

  1. A - Add
  2. D - Delete
  3. C - 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
....