atomic-diff (1) Linux Manual Page
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
