Actions
Feature #20093
openDisplay the power status for a Docker container via hammer
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1247329
Description of problem:
Currently hammer cli does not display the power status (running, stopped) for a given container, as shown below:
- hammer -u "${ADMIN_USER}" -p "${ADMIN_PASSWORD}" docker container info --id=1 --compute-resource="local_docker"
Name: docker-rhel-7-1
Image repository: rhel6.7
Tag: latest
Command: top
Compute resource: local_docker
Entrypoint:
CPU set:
CPU shares:
Memory (Bytes):
TTY: yes
Attach STDIN: no
Attach STDOUT: no
Attach STDERR: no
Registry: Red Hat Docker Registry
Created at: 2015/07/27 18:06:46
Updated at: 2015/07/27 18:06:46
It would be great to be able to get this information, specially for automation tasks that may want to check this information before triggering some type of action based on the status.
Version-Release number of selected component (if applicable):
- Satellite 6.1.1 SNAP 14
How reproducible:
Steps to Reproduce:
1. Provision a new docker container
2. Use hammer docker container info to find out what the power state is for the container
3.
Actual results:
This information is not currently displayed
Expected results:
Report the power status
Additional info:
No data to display
Actions