Error messages on termpage template modals could be more specific
The error message on the modal shows the same error for invalid console-container attachment termsocket URI, even when that is not the case and actually, the container is just in the EXITED state. The messages could be made more specific to let know the user about the exact nuances behind the failure to attach a console.
Here's a screenshot.

Hello, What should be done in this case to solve this?
Hi @sachindavra,
There are two cases in which, an attempt to attach a termsocket to a container, may potentially fail.
- First, if a termsocket is attempted to be attached to a container that is not in a
RUNNINGstate, the container cannot be interacted with and hence, a TTY webconsole cannot be generated. - Second, if a termsocket is attempted to be attached to a container that does not exist, the container cannot be interacted with as it is non-existent and hence, a TTY webconsole cannot be generated.
The above modal shows an ERRONEOUS state to the user but is general for both of the above circumstances while we are looking for different error modals for different cause of failures.
Hi @t0xic0der,
This seems related to Docker. I am in the initial phase of learning Docker. May be i can contribute later when i learn something about it. Sorry to bother you. I thought it's a python coding task.
Not a problem.
Feel free to look for other issues that might be right up your alley.