Repository navigation
Ability to gather Docker container information #36
Replies: 1 comment 3 replies
|
Thanks. Good idea and it's something I want also, though not quite in the shape you've described. First, which do you mean: containers on the machine LAN Orangutan runs on, or containers on other machines it discovers? The second needs the Docker API exposed over TCP on every one of those hosts, which almost nobody does and I don't want to be the reason someone starts. So I'm assuming the first. The part I'd push back on is "display it in the discovered devices." The app currently goes out of its way to keep Docker out of that list: docker0, br-* and veth* are filtered from detection, and there's a warning when the app can only see Docker's own network, because the bridge gateway answers probes for addresses that aren't there and you get a list of devices that never existed. Putting containers in as rows walks that back. It also breaks in a few specific ways: So rather than containers as devices, containers as something a device tells you about: The published ports are the part I actually want out of this. The service probe already tells you 8080 is open on that box. This tells you it's Jellyfin, etc. One cost I'd rather be upfront about: reading containers means mounting /var/run/docker.sock, which is root on the host. So it's opt in, documented plainly and anyone who wants it genuinely read only can put a socket proxy in front. It also won't work in the snap build, which is strictly confined. If that's what you were after, I'll take it in that form. What do you think? |
Uh oh!
There was an error while loading. Please reload this page.
Ability to gather Docker network container information and display it in the discovered devices.
All reactions