Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added state with Docker alike state like 'Up 10 days', 'Exit (0) 5 days ago' #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ualex73
Copy link

@ualex73 ualex73 commented Apr 6, 2019

I created this pull request to add a value to a Docker container which gives the Docker alike status back like:

Up 6 days
Up 6 days (Paused)
Exited (0) 2 months ago
Restarting (99) 5 seconds ago

The status of the "_status" and "_uptime" are then combined into 1 instead I need to display 2 values (for running, for not running containers the value of uptime is completely wrong). Maybe a toggle for the "*_status" could be an option to implement this?

This mimics the hadockermon output :-)

I don't expect it will be merged/accepted as-is, but if you include this output type into the main code, I will be grateful.

@Sanderhuisman
Copy link
Owner

I will have a look at the implementation, but I appreciate the proposed feature!

@Sanderhuisman Sanderhuisman added the enhancement New feature or request label May 22, 2019
@Sanderhuisman Sanderhuisman self-assigned this May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants