atomic-images (1) - Linux Manuals
atomic-images: operations on container images
NAME
atomic-images - operations on container images
SYNOPSIS
atomic images COMMAND [OPTIONS] [IMAGES...]
atomic images allows the user to view and operate on container images in a docker registry.
COMMANDS
delete
Delete the specified container image(s). If you use the --remote option remote disk space will not be freed until the registry garbage-collection command is invoked for the remote registry.
generate
help
Displays a help file associated with a container or image.
If a container or image has a help file (in man format) embedded in itself, atomic help will display the help file in a pager similar to man. The default location for a help file is /image_help.1 but the location of the help can be overridden with the HELP LABEL. If you choose to override the default location, ensure the path provided is a fully-qualified path that includes the help file itself.
The help file can be written using the middleman markup and the converted using the go-md2man utility as follows:
You can also use any of the many options to create the help file including using native man tagging.
info
Displays the LABEL fields within an image. By default, it will check first for a local image and then all configured registries.
For a system container image, this will also display the environment variables a user can set.
list
List all installed container images on your system.
A > preceding the image name indicates that the image is used by a container.
A * in the first column indicates a dangling image. Dangling images are images with no name/tag and which are not used by any other images. Since they are not used, they waste system space. Dangling images can be caused by using 'docker build' to update an image without removing the older version of the image.
prune
Prune/delete all dangling images, freeing wasted disk space.
update
Pulls the latest update of the image from the repository. If a container based on this image exists, the container will continue to use the old image. Use --force to remove the container.
verify
Checks whether there is a newer image available. If the image differs, it will capture any of its relevant information like version (where applicable).
version
Display image 'Id Name:Version:Release RepoTag' label
[-h|--help]
[-f|--force]
[--remote]
[--storage=[ostree|docker]]
Atomic --assumeyes option can be used
[-y|--assumeyes]
[-h|--help]
[--remote]
[--storage=[ostree|docker]]
[-h|--help]
[-a|--all]
[-f|--filter]
[-n|--noheading]
[--no-trunc]
[-q|--quiet]
[--json]
[-f|--force]
[-h|--help]
[--storage=[ostree|docker]]
[-h|--help]
[--no-validate]
[--storage=[ostree|docker]]
[-v|--verbose]
[-h|--help]
[-r|--recurse]
[--storage=[ostree|docker]]
Verify the Red Hat rsyslog image
Verify the Red Hat rsyslog image and show status of each image layer
Verify a system image
July 2015, Originally compiled by Daniel Walsh (dwalsh at redhat dot com)
July 2016, Updated to reflect images sub-command changes (jhonce at redhat dot com)
July 2016, Added sub-commands all, filter and quiet to list (jerzhang at redhat dot com)
go-md2man -in image_help.1.md -out image_help.1
delete OPTIONS
Note:
info OPTIONS
list OPTIONS
update OPTIONS
verify OPTIONS
Will output the status of each base image that makes up the image being verified.
version OPTIONS
EXAMPLES
# atomic images verify registry.access.redhat.com/rhel7/rsyslog
#
# atomic images verify -v registry.access.redhat.com/rhel7/rsyslog
registry.access.redhat.com/rhel7/rsyslog contains the following images:
rhel7/rsyslog-7.1-29 rhel7/rsyslog-7.1-29
redhat/rhel7-7.1-24 redhat/rhel7-7.1-24
* = version difference
# sudo atomic images verify busybox
validation output for layer a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4:
(no changes detected)
validation output for layer 8ddc19f16526912237dd8af81971d5e4dd0587907234be2b83e249518d5b673f:
"etc/shadow": keyword "size": expected 243; got 268
"etc/shadow": keyword "sha256digest": expected 22d9cee21ee808c52af44ac...; got 7a07ac69054c2a3533569874c2...
HISTORY