atomic-diff (1) - Linux Manuals
atomic-diff: show the differences between two images|containers RPMs
NAME
atomic-diff - show the differences between two images|containers RPMs
SYNOPSIS
atomic diff [-h|--help] [--json] [--names-only] [-n][--no-files] [-r][--rpms] [-v][--verbose] image|container image|container ...]
DESCRIPTION
atomic diff will compare the files found in two different images or containers and output to stdout or as JSON. By default, the comparison is done on the file level but there are switches for comparing RPMs and metadata as well.
OPTIONS
-h --help
--json
-k --keywords
Keywords currently defined are: all, link, nlink, mode, type, time, uid, gid, size, sha256digest
-m --metadata
-n --no-files
--names-only
-r --rpms
-v --verbose
Compare images the files in 'foo1' and 'foo2'.
Compare the files in images 'foo1' and 'foo2' and output in JSON.
Compare only the RPMs in images 'foo1' and 'foo2'
Compare the files and RPMs (without versions) in images 'foo1' and 'foo2' and output as json
Compare only the metadata between images 'foo1' and 'foo2'
Compare files by 'sha256digests' and 'time' between images 'foo1' and 'foo2'
Updated by Brent Baude (bbaude at redhat dot com) Nov 2016
Updated by Brent Baude (bbaude at redhat dot com) May 2016
Initial revision by Brent Baude (bbaude at redhat dot com) November 2015
EXAMPLES
atomic diff foo1 foo2
atomic diff --json foo1 foo2
atomic diff -r -n foo1 foo2
atomic diff -r --json foo1 foo2
atomic diff -m foo1 foo2
atomic diff foo1 foo2 --keywords sha256digest time
HISTORY