1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-06 12:45:57 +01:00
Files
atomic/tests/test-images
yuqi-zhang ddabf2715f syscontainers: display better container status
Change the status in "atomic containers list" to display systemd
state instead of runc state. This way system containers match user
containers. Another reason for the switch is that systemctl
start/stop creates/destroys a runc container every time instead of
using the same container, so systemd gives better indication of
container status.

Also expand the states to be:

 - running: container is running correctly
 - inactive: container is stopped/newly created and ready to run
 - failed: either systemd service or container process failed

instead of just "exited" and "running" as before.

Add tests and fix to test-image originally by Giuseppe.

Signed-off-by: Yu Qi Zhang <jerzhang@redhat.com>

Closes: #619
Approved by: giuseppe
2016-09-16 08:05:49 +00:00
..
2016-02-17 14:38:26 -06:00