URL that goes into a container's console
Here I show /<container-name>/console typed onto the end of* a /podman URL as a suggestion as to where this feature could go:
- were I to press enter on
https://192.168.0.141:9090/podman/kind_nightingale/consoletoday, I'd get a 404.
We can't really support this unless we create "proper" detail pages for a containers like we do in cockpit-machines.
What we do support is filtering directly from the url so for your example you could go to https://127.0.0.2:9091/podman#/?name=kind_nightingale
We have discussed adding detail pages to cockpit-podman, this would be a major re-design.
If we implement this, the URL would be https://host:9090/podman#/<container-name>/console, note the extra #.
I think it would be feasible to have a dedicated console for a single container at that URL. This would be significantly easier to implement than trying to encode the expanded/tab-selection state of the current page in the URL. We don't need full-blown details pages.
The newish TerminalState of our own Terminal component is probably useful in this case, so that the console keeps its contents when switching between expanded and compressed version.