10 ms·
Cockpit: Web-based graphical interface for servers
- Scene_Cast2 3y agoFor self hosting a NAS, I find Cockpit to be leagues better than OMV.
- sherry-sherry 3y agoCan I ask why? I currently use OMV for serving files over my local network (just for myself) and running a handful of Docker containers. It works fine but I don't use 90% of it's features.
- Scene_Cast2 3y agoTwo reasons. One is the paradigm, the other is jank (or lack thereof). OMV takes over your system - lots of "Auto-generated and maintained by OMV, do not touch" in system configs. By comparison, with Cockpit I could tweak and set up my own stuff. With OMV, when I needed to change my network settings, I had to fight bugs in the OMV GUI, and couldn't edit the configs directly. Same thing when I was trying to set up my disks in a particular way. This is a big issue because when something breaks, none of the general (non-OMV specific) answers on the forums help because you can't actually edit the configs... The other is jank. I ran into many, many issues with OMV. Even for installing, I had to resort to 'curl .. | sudo bash' as the officially recommended option, with no proper uninstall method.
- kosikond 3y agoIMHO that depends on couple of factors and use case, and I am happily running either on two different NASes. OMV: -- has Docker plugin with Compose support (no need for sep. Docker GUI like Portainer) -- SMB shares are (somehow) more reliable on Win clients -- has more beginner friendly GUI and attitude, easier to share with other users -- batteries-included features like fail2ban + Wireguard Cockpit: -- first class citizen on EL / Fedora distros -- Podman yes, Docker no - no Compose/Quadlet support -- killer features like VM managements and Terminal -- bugs with Samba
- t0bia_s 3y agoHow about Proxmox?
- LanternLight83 3y agoLove it-- but since I'm not using systemd, it's a no-go. Would love to see it support more diverse systems, but last I checked it's pretty tightly coupled and I'm not sure who would have the bandwidth to adapt it.
- xenator 3y agoWhy you don't use systemd? Anything against it?
- LanternLight83 3y agoThanks for asking! I've always used the "default" init system when trying a new distro, and while I enjoyed running systemd on Fedora, I've also enjoyed working with OpenRC on Gentoo and with Shepherd on GNU Guix. I've tinkered a lot with early boot, writing my own initrds, curating system services under each of these init's. systemd is undeniably powerful, but I enjoy how broad the ecosystem is. Off the top of my head, I personally like having real logfiles under `/var/log`, which I've occasionally had to examine by mounting the disk on another machine after really mucking something up :p
- omgmajk 3y agoSystemd is still a sore spot for some people, in some ways me included, but I'm over it and use it daily.
- INTPenis 3y agoThe reason cockpit exists is systemd and dbus. Without them it would be much harder to develop.
- LanternLight83 3y agoThat's true to some extent, but I think the real reason for the coupling is because that's just IBM's use-case and worldview. Cockpit is essentialy a wrapper over systemd commands, and one commentor has demonstrated how it could have been envisioned as a modular platform allowing end-users to wrap anything from direct kernel interfaces to entirely custom commands. They've made something useful and beautiful, but I wish it had been designed to make less assumption about it's runtime environment and expose it's toolkit to end-users so that we could all enjoy it for our own needs.
- nurettin 3y agoI tried this some years ago. There was a hard limit on the number of computers you can connect to the community edition. I think it was 15.
- johnny22 3y agowhere's the non community edition? I wonder if you're thinking about a different project altogether?
- nurettin 3y agoThings might have changed, but there aren't that many vm/docker monitoring projects named cockpit that I can confuse this with.
- 3np 3y agoThis one, maybe? https://camunda.com/platform-7/cockpit/ https://camunda.com/platform-7/cockpit/ Either way, the OP Cockpit has been unrestricted LGPL for years now so somehow you're mistaken.
- Semaphor 3y ago2022, 81 comments: https://news.ycombinator.com/item?id=31439811 https://news.ycombinator.com/item?id=31439811 2021, 128 comments: https://news.ycombinator.com/item?id=26197510 https://news.ycombinator.com/item?id=26197510 2018, 149 comments: https://news.ycombinator.com/item?id=16445612 https://news.ycombinator.com/item?id=16445612
- deleted 3y ago[deleted]
- codetrotter 3y agoAnyone tried using cockpit with Raspberry Pi? Even though I mostly use the command line for all my server administrating, I could see myself using a graphical UI like this on some of my Raspberry Pi computers, when I quickly want to do something on them from my phone.
- telegpt 3y ago[dead]
- fulafel 3y agoFor others curious, https://github.com/cockpit-project/cockpit https://github.com/cockpit-project/cockpit shows that it's written in several languages, with C at the #1 place, with JS and Python following. "src/cockpit" (main backend logic?) is Python.
- badcppdev 3y agoPiggybacking off your comment I wonder how many other people really care about the tech stack used to create any product they are running on a server. What dependencies does it have? Do I need to be conscious of vulnerabilities in some logging library or Curl? And I also find it really interesting to see whether a product is programmed using one clear stack or a mixture.
- claudex 3y agoI care if it's an obscure tech stack and there isn't a lot of contributor, because it will indicate that it's more likely that it lose interest in development. Or if I want to contribute and so I want a tech stack I know or I'm interested into.
- bityard 3y agoI usually care a great deal, because it gives some strong hints up-front about what to expect from the project while trying it out and subsequently deploying it for production use. I know some languages and ecosystems much better than others, so I have an idea how well I could support it up-front if needed. Others have different deployment styles, ranging all the way from "just copy this one binary somewhere" to "first install this language interpreter with a fricken curlpipe, then this language-specific package manager, then these hundreds of dependencies, then our app if you're still awake. But don't forget you'll still need an application server..." The widespread use of Docker has made the last even less common, but I still run into docker containers just don't work, and I don't know the tech stack, and learning a whole tech stack just to troubleshoot someone else's broken code in order to try it out is not my most favoritest use of time.
- sixothree 3y ago
- happyweasel 3y agowebmin anyone?
- esskay 3y agoGoing for that nice mid 1990's vibe? In fairness it's got a wealth of features...it's just ugly as sin.
- linkpuff 3y agoI've actually been running webmin on my raspberry pi 4 practically every since I got it, the night version of the authentic theme(one of the default) actually looks and feels relatively modern and is updated as well every now and then. My only nitpicks are the obsolete set of tools/panels available (it was the core reason why it took me so much to move from apache to nginx, because there's no nginx panel on the default set)
- ComodoHacker 3y agoHow's the footprint? Is it usable for investigating problems while the system is strained on resources?
- linkpuff 3y agoIt is not null, I'll tell ya. It's a bit of a tradeoff between cpu cycles and ability to do actual tasks. You can't really investigate much a server with it unless you're investigating a machine in a cluster from a main broker because the panel can and will get sluggish to navigate(there's no good alternative to physical access or ssh in extreme cases), but hey, at least it won't drop you easily, because the frontend responds well to high latency.
- gertrunde 3y agoIt has had a bit of a visual refresh, so it's not as bad as it used to be, although the underlying structure is still very much the same.
- 3y ago
- mellow-lake-day 3y agoWould this work for a RPi? In particular the Raspberry Pi 3 Model B V1.2 model? This might be a little overkill but I was looking for something to monitor cpu temp (with graphs to show temp minute by minute over a week for example), cpu usage, ram, disk space, network access, etc.
- lukevp 3y agoHave you looked into netdata? It can do this and much more, it’s very flexible. No relation, just a big fan!
- plibither8 3y agoYes, netdata FTW! You might need to perform some manual configuration to enable sensor data collection though, like installing `lm-sensors`.
- grigio 3y agocockpit is great! Almost a full alternative to Proxmox on Debian!
- aitchnyu 3y agoHope all tools in this space have a giant banner saying your disk space is running out. This is somehow not common knowledge for those debugging servers.
- snoman 3y agoWhat’s up with that btw? Noticed the same myself.
- barosl 3y agoThe cool thing about this project is that as it uses systemd's socket activation, it requires no server processes at all. There is no waste of resources when Cockpit is not being used. Accessing a page is literally the same as invoking a command-line tool (and quitting it). No more, no less. What a beautiful design.
- mrweasel 3y agoI should really spend more time learning systemd. The more I look into it, the more cool and useful features I discover.
- bityard 3y agoIf you have anything at all to do with OS administration, management, or software packaging, it's worth it. If I could offer a little advice: The systemd man pages are useful as a reference, but are terrible to learn from. Part of this is because there are parts of systemd that everyone uses, and there are parts that almost nobody uses and it's hard to guess which these are at first. Also, the man pages are dry and long and quite often fail to describe things in a way that would make any sense whatsoever to someone who isn't already intimately familiar with systemd. Most of my systemd learning came from random blog articles and of course the excellent Arch wiki.
- tanelpoder 3y agoI ended up reading more about this and looks like SSHD in Ubuntu 22.10 and later also uses systemd socket activation. So there should be no sshd process(es) started until someone SSHs in! https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189 https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-ac...
- M95D 3y agoI just looked at the screnshots and it seems to me that OpenWrt does it better. A lot better.
- squarefoot 3y agoLast time I had to use OpenWRT, I was literally pulling my hair because of how convoluted was the interface compared to say m0n0wall, *Sense, FreeNAS, and other similar firewall/NAS/services dedicated web interfaces. It was some years ago, hopefully it was improved since.
- TwoNineFive 3y agoI'm an actual RHCE. This thread has to be some big Red Hatter click farm or something. The artificial positivity is striking. Is Red Hat threatening to pull funding for this project or something? Just weird. Cockpit is okay but it's basically Red Hat's equivalent to the Windows Server Manager tool, and I have no doubt it was directly inspired by Server Manager. It's development and improvement over the years has been painfully slow. Nobody who is comfortable with an ssh session uses Cockpit, except maybe to create new VMs, and even then all of these comments comparing it to Proxmox are just whack because it doesn't have a quarter of the features the Proxmox UI offers. The utility for managing VMs is a recent development and even then I still prefer the Virtual Machine Manager tool because I don't want to deal with the latency increase and other limitations of working through a browser. But anyway, there's a ton of things you can't do with Cockpit, and never will be able to do. It's for people who want to point and click, can't do a bash for/while loop, don't understand pipe chaining commands, and don't like using vim. Like happyweasel said, it's basically webmin for Red Hat. It's kinda cool, but it's so old now and development has been so slow and it's been so over-hyped that I don't pay attention to it at all and I've never used it except what was required to get certified.
- KronisLV 3y ago> Like happyweasel said, it's basically webmin for Red Hat. Seems pretty cool to me, "meet your users where they are" and all that. I actually wonder what other options for this sort of web based management panel there are out there, maybe more DEB oriented ones.
- minimaul 3y agoIt's a very useful tool to manage libvirt + KVM remotely without trawling through poorly documented XML, it's accessible from any platform - even an iPad, and it requires next to no setup (basically install the package and add a cert and you're done). I consider these big pluses, I use Cockpit on Debian on my servers that run VMs rather than something like Proxmox, because 1. it's much less invasive, 2. the machines tend to run other things too, like docker containers. Have been using it for this since ~2019. The stats views are useful too, but I wouldn't install it for that on it's own. edit: and honestly, there's not another good (maintained!) option that fits the niche of 'let me create libvirt VMs from a web browser on a single machine without taking over my whole system'.
- rcarmo 3y agoI used this for a while, but noticed that a bunch of interesting plugins were not maintained/updated and stopped using it in 22.04.
- fs0c13ty00 3y agoI can't imagine myself using this. One more port open, one more attack vector for those restless bots to scan for vulnerabilities, one more service I need to keep up-to-date. But I understand it would help Linux servers become more approachable, especially people that are switching away from PHP-based shared hosting to a full-featured VPS, don't have much knowledge about servers, and want something similar to cPanel or DirectAdmin.
- Cthulhu_ 3y agoYou don't have to open up a port, you can use a VPN or SSH tunnel (I don't know what the difference is) instead.
- jelly1 3y agoWith Cockpit Client this is not even required it will do the SSH magic for you. https://flathub.org/apps/org.cockpit_project.CockpitClient https://flathub.org/apps/org.cockpit_project.CockpitClient
- itomato 3y agoWhy use this when Webmin has done the job for decades? https://webmin.com/ https://webmin.com/
- worksonmine 3y agoGod I hate these comments. "X exists so why would anyone ever build Y". Why not? Competition is good, think about it for a minute and I'm sure you'll figure out how.
- kristopolous 3y agoBecause open source is about collaboration, not wasting time with redundant effort
- worksonmine 3y agoI disagree, options need to exist. Some full featured, others with a more minimal approach. Different languages, and different flavors. True democracy rarely works and catering to all users more often than not ends up in unmaintainable spaghetti. People are allowed to create their own X even if thousands of options already exist.
- itomato 3y agoIts a profitable category?
- pch00 3y agoA possible reason: if you're already a RHEL shop, you're happy with your RHEL support contract and you train up all your folks to be RHCE, then Cockpit is the "supported" web admin tool. Second: webmin also has a patchy security history. I don't know enough about cockpit to say it's any better but it would certainly be enough of an issue to review all of the options.
- dinkleberg 3y agoJust wanna point out that cockpit started nearly a decade ago, so it is not a new entry in this arena either.
- jrmysterylord 3y ago[dead]
- YLYvYkHeB2NRNT 3y agoIt looks like WordPress
- dewey 3y agoIt's pretty much the default design for most "admin panel frontend" templates.
- leetrout 3y agoThere is value in "porcelain"[0] I have watched startups fold for not pushing product development further into UI/UX with off the shelf backends. At one company I worked at I showed how our backend (completely custom container orchestrator) could be replaced in a weekend with AWS Lambda and ECS. But our UI/UX and workflow tools would take much, much longer. Yet we continued to waste money and time on "building a new raft based cluster". In the mean time I was handed "add batch processing" and we already used Go so I just used Nomad under the hood and moved on. I like working on teams that ship features not JUST tech for tech's sake. https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Po...
- ocdtrekkie 3y agoAs someone on the Windows side most of the time, Cockpit is fantastic. Let's me see all the basics I need to of the system of which I remember about half the CLI commands for, and it's easy to install from apt-get.
- jameshart 3y agoPeople who decry graphical admin interfaces in favor of command line are missing the wood for the trees. Sure, clickops is no way to run a server - but neither, if we’re honest, is ssh. For a working machine, server state should be reproducible from scratch. Install an OS, add software, apply configuration, leave well alone. If you’re going in with ssh or cockpit you’re just going to screw something up. So the only reason you should be working on a server directly is because you’re doing something exploratory. And in that case gui vs command line isn’t as clearcut as people want to make it. GUIs emphasize discoverability and visibility which can be helpful in that experimental phase when you’re trying to figure out how to get something set up right.
- HankB99 3y ago> For a working machine, server state should be reproducible from scratch. Install an OS, add software, apply configuration, leave well alone. I'm curious if you have a specific tool or tools in mind. I've been using Ansible in my home lab, particularly for configuring Raspberry Pis. The OS install part (only?) works because it involves a bitwise copy of the image to the boot media (and some optional configuration.)
- jameshart 3y agoAnsible is a good choice. When I say ‘working server’ though, I typically mean one that is doing a job - providing a critical business service. A ‘home lab’ of raspberry pis is a different beast.
- jefurii 3y agoI'd like to see a tool, maybe a Cocpit-like or a wrapper around SSH, that would build Ansible playbooks for you as you clicked around or typed commands.
- 2OEH8eoCRo0 3y agoBoth are good for different reasons. I prefer working in a terminal but I didn't think it was controversial that a GUI is better for visualization.
- 3y ago
- whalesalad 3y agoThis is the natural evolution of Webmin. I've used it for a few things. Nice to have in my homelab for quickly glancing at what a box is doing, software packages etc.
- 0x6c6f6c 3y ago_Quick disclaimer_ In this thread: people who disagree on CLI superiority going at it.
- JAlexoid 3y agoIt's "meh" level of quality, though. Useful for a very small subset and I would avoid it, if you're running a home server. (Cockpit's file server interface plugin is old and bad) I don't really know what you'd use it for? Maybe to do minor monitoring, but it's not great to admin.
- mekster 3y agoExactly. No idea why RH is endorsing the project. There's no practical use. Listing bunch of systemd services isn't going to be any more helpful than CLI output listing everything.
- dingi 3y agoI've been using this from time to time on my laptops repurposed as home servers. Mainly for monitoring. Spinning up a VM or container here and there. Too bad they removed Docker support. To hell with Podman.
- _joel 3y agoWhy to hell with podman? I'd rather use something not encumbered by shady licenses.
- dingi 3y agoBecause docker works and I know it. I don't want to change my infra just because some corporation had NIH. Besides they all are just OCI runtimes.
- dralley 3y ago> because some corporation had NIH It was the opposite of NIH. Red Hat had a bunch of features that their customers wanted Docker to have, like custom image registries and daemonless, but docker wouldn't accept the pull requests adding them.
- LoganDark 3y agoI can't zoom in on the image gallery without it going insane and flipping through all the images. You should not cycle through the image on pinch-zoom.
- spandextwins 3y agoPssh, grafana, and docker compose. Oh, ansible too
- daitangio 3y agoWhat about webmin? I used it in the past, it has plenty of modules and parse config, so you can edit them by hand too. https://webmin.com/ https://webmin.com/