1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-05 18:45:01 +01:00

19 Commits

Author SHA1 Message Date
Dan Walsh
3b486957de Remove primary commands and move to images subcommand
In order to cleanup code and simplify interface, i
move help, info, verify and version to the images subcommand.

Remove man pages for these atomic commands and add info to images subcommand.

Since these have been previously documented we will continue to support
atomic help
atomic info
atomic verify
atomic version

But we will not document them.

Closes: #676
Approved by: rhatdan
2016-10-08 09:46:56 +00:00
Dan Walsh
09f5ec7861 Fixup man pages
Closes: #664
Approved by: cgwalters
2016-09-24 22:22:32 +00:00
Alex Jia
a6e953056b update man page
Signed-off-by: Alex Jia <ajia@redhat.com>

Closes: #573
Approved by: rhatdan
2016-09-06 12:31:08 +00:00
Dan Walsh
448654d68f Don't add host verb if not on atomic host
Check whether /run/ostree-booted file exists.  If it does then
add the host commands to the atomic command.

Also fix some of the descriptions in atomic man page.

Closes: #561
Approved by: cgwalters
2016-08-27 12:28:17 +00:00
Jhon Honce
eeac7339f7 Card container_security_114 - Add delete image support
* Add support for calling skopeo to delete v2 images from v2 registry
* Implement atomic images list --no-trunc
* Update documentation and bash tab expansion
* Cleanup code and comments
* Update integration tests

Signed-off-by: Jhon Honce <jhonce@redhat.com>

Closes: #425
Approved by: rhatdan
2016-07-20 09:59:09 +00:00
Tomas Tomecek
b8815d56a8 document ways of connecting to docker engine
Resolves #41

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>

Closes: #426
Approved by: rhatdan
2016-06-20 20:22:12 +00:00
Dan Walsh
403b51a5ca Add support for modifying /etc/sysconfig/docker-storage-setup
atomic modify can be used to add devices to the storage backend.
It can also be used to switch the backend storage driver.

Closes: #385
Approved by: rhatdan
2016-05-23 15:32:20 +00:00
Brent Baude
6ed4994b0d Implement generic scanning in Atomic
As more scanners besides openscap become available, atomic
can now begin to leverage them.  The new scan function has
been broken out into its on file (scan.py).

The scan command itself now defaults to openscap but can
also be switched to blackduck with --scanner.

Atomic now can use a configuration file which is stored
in /etc/atomic.conf.  The location of the atomic conf
file can be overriden with the environment variable
'ATOMIC_CONF'.  In the case of the scan function,
we need the scanner defined in the configuration file
as well as the fully qualified image name and the
scan arguments.  Optionally, you can provide additional
custom docker arguments for the scanner as well
2016-04-07 09:33:00 -05:00
Brent Baude
70427a5159 Atomic/help.py: Display man-like help for an image
Images or containers can now have an associated
man-like help page to help users understand more
about the image.  Typical information included
are things like a longer description, if the image
needs to be installed, security implications, steps
to upgrade, etc.

The default behavior is for atomic to display
a file called help.1 (in man format) located in
the / of the docker object.  This default
can be overriden with the HELP LABEL.  The
HELP LABEL needs to be a fully qualified
command to work correctly.
2016-01-15 10:02:58 -06:00
Brent Baude
cf6806cff5 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-10 11:24:08 -06:00
Brent Baude
6e24d6bcdb Introduce 'atomic diff'
Allow users to diff between two docker images|container. There
    are two types of diffs that can be run -- a file diff or an
    RPM diff.  The file diff is always the default.  The RPM diff
    can be added with -r.  The file diff can be excluded with -n.
2015-11-23 15:46:06 -06:00
Sally O'Malley
904588f97e atomic man fixes
Signed-off-by: Sally O'Malley <somalley@redhat.com>
2015-08-26 11:44:10 -04:00
Dan Walsh
4e6f492336 Add missing -v --version to man page 2015-07-30 11:46:44 -04:00
William Temple
a20794b559 atomic mount/unmount commands 2015-06-04 14:43:34 -04:00
Dan Walsh
e88bd813f6 Add atomic upload for pushing container image to docker, or upload to pulp 2015-05-11 14:43:58 -04:00
Dan Walsh
1e00aed248 Ignore stderr output, add atomic info 2015-01-28 16:36:55 -05:00
Dan Walsh
fd4aee4763 Fix merge issues 2015-01-25 06:03:53 -05:00
Dan Walsh
10fc4c89db Move atomic host commands to 'host' subcommand 2015-01-23 05:10:14 -05:00
Dan Walsh
394732cdaa Rename atom to atomic 2015-01-22 17:37:51 -05:00