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
EXAMPLES
Compare images the files in 'foo1' and 'foo2'.
-
atomic diff foo1 foo2
Compare the files in images 'foo1' and 'foo2' and output in JSON.
-
atomic diff --json foo1 foo2
Compare only the RPMs in images 'foo1' and 'foo2'
-
atomic diff -r -n foo1 foo2
Compare the files and RPMs (without versions) in images 'foo1' and 'foo2' and output as json
-
atomic diff -r --json foo1 foo2
Compare only the metadata between images 'foo1' and 'foo2'
-
atomic diff -m foo1 foo2
Compare files by 'sha256digests' and 'time' between images 'foo1' and 'foo2'
-
atomic diff foo1 foo2 --keywords sha256digest time
HISTORY
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