You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
It's common for VMs, containers, and services to have a running/not-running state. Some operations - particularly exec, and thus reading the filesystem - don't work when a container or VM is not running.
We should add a common attribute for state. It's useful to know whether it's running - and thus can respond to exec and signals - or some other state. I would model this as a boolean running flag, and a free-form string that describes the state.
ls should be updated to display the state, and use color or other symbols to denote a running instance.
The text was updated successfully, but these errors were encountered:
Hm, how do you intend to use the separate flag for running?
I think making state a string would be useful. People could specify the entry's possible states in the schema, and the color code for each state. We could have docs list this stuff.
Yeah, was mostly asking to confirm the latter. I think we should take a similar approach to signal and specify a set of common states (and color codes associated with that state). That should be enough to prevent people from (accidentally and interactively) running Exec on a non-running thing while providing a uniform way to show a running instance.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It's common for VMs, containers, and services to have a running/not-running state. Some operations - particularly exec, and thus reading the filesystem - don't work when a container or VM is not running.
We should add a common attribute for state. It's useful to know whether it's running - and thus can respond to exec and signals - or some other state. I would model this as a boolean running flag, and a free-form string that describes the state.
ls
should be updated to display the state, and use color or other symbols to denote a running instance.The text was updated successfully, but these errors were encountered: