2015-01-22 11:47:32 -05:00
|
|
|
% ATOMIC(1) Atomic Man Pages
|
|
|
|
|
% Dan Walsh
|
|
|
|
|
% January 2015
|
|
|
|
|
# NAME
|
|
|
|
|
atomic \- Atomic Management Tool
|
|
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
**atomic** [OPTIONS] COMMAND [arg...]
|
2016-10-04 12:46:23 -04:00
|
|
|
{containers,diff,images,install,mount,pull,push,run,scan,sign,stop,storage,migrate,top,trust,uninstall,unmount,umount,update,verify,version}
|
2016-09-24 05:53:00 -04:00
|
|
|
|
2016-09-06 17:48:27 +08:00
|
|
|
[**-h**|**--help**]
|
2015-01-22 11:47:32 -05:00
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
Atomic Management Tool
|
|
|
|
|
|
|
|
|
|
# OPTIONS
|
2015-07-30 11:46:44 -04:00
|
|
|
**-h** **--help**
|
2015-01-22 11:47:32 -05:00
|
|
|
Print usage statement
|
2016-09-06 17:48:27 +08:00
|
|
|
|
|
|
|
|
**-v** **--version**
|
|
|
|
|
Show atomic version
|
|
|
|
|
|
|
|
|
|
**--debug**
|
|
|
|
|
Show debug messages
|
|
|
|
|
|
|
|
|
|
**-y** **--assumeyes**
|
|
|
|
|
automatically answer yes for all questions
|
|
|
|
|
|
2016-02-25 17:07:24 -06:00
|
|
|
# ENVIRONMENT VARIABLES
|
|
|
|
|
|
|
|
|
|
**ATOMIC_CONF** The location of the atomic configuration file (normally /etc/atomic.conf) can be
|
|
|
|
|
overridden with the _ATOMIC_CONF_ environment variable
|
|
|
|
|
|
|
|
|
|
**ATOMIC_CONFD** The location of the atomic configuration directory (normally /etc/atomic.d/) can be
|
|
|
|
|
overridden with the _ATOMIC_CONFD_ environment variable.
|
2015-01-22 11:47:32 -05:00
|
|
|
|
2015-01-23 04:48:36 -05:00
|
|
|
# COMMANDS
|
2016-09-24 05:53:00 -04:00
|
|
|
**atomic-containers(1)**
|
|
|
|
|
operations on installed containers
|
|
|
|
|
|
2015-10-30 17:46:34 -05:00
|
|
|
**atomic-diff(1)**
|
|
|
|
|
show the differences between two images|containers' RPMs
|
|
|
|
|
|
2015-01-23 04:48:36 -05:00
|
|
|
**atomic-host(1)**
|
2016-08-26 12:14:02 -04:00
|
|
|
execute commands to manage an Atomic host.
|
|
|
|
|
|
|
|
|
|
Note: only available on atomic host platforms.
|
2015-01-25 06:03:53 -05:00
|
|
|
|
2015-08-26 07:22:08 -04:00
|
|
|
**atomic-images(1)**
|
2016-09-24 05:53:00 -04:00
|
|
|
operations on container images
|
2015-08-26 07:22:08 -04:00
|
|
|
|
2015-01-23 04:48:36 -05:00
|
|
|
**atomic-install(1)**
|
2016-08-26 12:14:02 -04:00
|
|
|
execute commands on installed images
|
2015-01-25 06:03:53 -05:00
|
|
|
|
2015-06-04 14:43:34 -04:00
|
|
|
**atomic-mount(1)**
|
|
|
|
|
mount image or container to filesystem
|
|
|
|
|
|
2016-08-26 12:14:02 -04:00
|
|
|
**atomic-pull(1)**
|
|
|
|
|
pull latest image from repository
|
|
|
|
|
|
|
|
|
|
**atomic-push(1)**
|
|
|
|
|
push container image to a repository
|
|
|
|
|
|
2015-01-22 11:47:32 -05:00
|
|
|
**atomic-run(1)**
|
2015-01-23 04:48:36 -05:00
|
|
|
execute image run method (default)
|
2015-01-25 06:03:53 -05:00
|
|
|
|
2015-10-30 17:46:34 -05:00
|
|
|
**atomic-scan(1)**
|
|
|
|
|
scan an image or container for CVEs
|
|
|
|
|
|
2016-09-24 05:53:00 -04:00
|
|
|
**atomic-sign(1)**
|
|
|
|
|
sign an image
|
|
|
|
|
|
2015-08-26 07:22:08 -04:00
|
|
|
**atomic-stop(1)**
|
|
|
|
|
execute container image stop method
|
|
|
|
|
|
2016-08-26 12:14:02 -04:00
|
|
|
**atomic-storage(1)**
|
|
|
|
|
manage the container storage on the system
|
|
|
|
|
|
Atomic TOP: Top-like display for container processes
Adding a new atomic sub-command that behaves like GNU top
but for processes being run for containers. It currently
displays the container id, container name,
pid, cpu% (as reported by docker
top), mem% (as reported by docker top), and the command.
You can optionally pass in -o ppid, stime, time to collect
more data on the processes themselves.
While in the interactive display, you can also sort on
the columns to re-organize the data as needed.
You can define an interval for refreshing the process
information.
atomic top can be run without any additional
parameters. If that is the case, it will by default
show processes for all active containers. You can also
add one or more container_ids for exclusive process
monitoring by container.
Also added an AtomicDocker class to atomic.py which
allows for custom docker, python-api calls without
having to re-invent the wheel.
2015-12-03 09:54:29 -06:00
|
|
|
**atomic-top(1)**
|
|
|
|
|
display a top-like list of container processes
|
|
|
|
|
|
2016-09-24 05:53:00 -04:00
|
|
|
**atomic-trust(1)**
|
|
|
|
|
manage system container trust policy
|
|
|
|
|
|
2015-01-23 04:48:36 -05:00
|
|
|
**atomic-uninstall(1)**
|
|
|
|
|
uninstall container from system
|
2015-01-22 11:47:32 -05:00
|
|
|
|
2015-06-04 14:43:34 -04:00
|
|
|
**atomic-unmount(1)**
|
|
|
|
|
unmount previously mounted image or container
|
|
|
|
|
|
2015-08-26 07:22:08 -04:00
|
|
|
**atomic-update(1)**
|
2016-08-26 12:14:02 -04:00
|
|
|
Downloads the latest container image.
|
2015-05-11 14:41:51 -04:00
|
|
|
|
2016-06-20 13:31:08 +02:00
|
|
|
# CONNECTING TO DOCKER ENGINE
|
|
|
|
|
|
|
|
|
|
By default, `atomic` command connects to docker engine via UNIX domain socket
|
|
|
|
|
located at `/var/run/docker.sock`. You can use different connection method via
|
|
|
|
|
setting several environment variables:
|
|
|
|
|
|
|
|
|
|
**DOCKER_HOST** — this variable specifies connection string. If your engine
|
|
|
|
|
listens on UNIX domain socket, you can specify the path via
|
|
|
|
|
`http+unix://<path>`, e.g. `http+unix://var/run/docker2.sock`. For TCP the
|
|
|
|
|
string has this form: `tcp://<ip>:<port>`, e.g. `tcp://127.0.0.1:2375`
|
|
|
|
|
|
|
|
|
|
**DOCKER_TLS_VERIFY** — enables TLS verification if it contains any value,
|
|
|
|
|
otherwise it disables the verification
|
|
|
|
|
|
|
|
|
|
**DOCKER_CERT_PATH** — path to directory with TLS certificates, files in the
|
|
|
|
|
directory need to have specific names:
|
|
|
|
|
|
|
|
|
|
**cert.pem** — client certificate
|
|
|
|
|
|
|
|
|
|
**key.pem** — client key
|
|
|
|
|
|
|
|
|
|
**ca.pem** — CA certificate
|
|
|
|
|
|
|
|
|
|
For more info, please visit upstream docs:
|
|
|
|
|
|
|
|
|
|
**https://docs.docker.com/engine/security/https/**
|
|
|
|
|
**https://docs.docker.com/machine/reference/env/**
|
|
|
|
|
|
|
|
|
|
|
2015-01-22 11:47:32 -05:00
|
|
|
# HISTORY
|
|
|
|
|
January 2015, Originally compiled by Daniel Walsh (dwalsh at redhat dot com)
|
2015-10-30 17:46:34 -05:00
|
|
|
November, 2015 Addition of scan and diff by Brent Baude (bbaude at dot com)
|