logoalt Hacker News

Cockpit is a web-based graphical interface for servers

157 pointsby modinfoyesterday at 8:33 PM95 commentsview on HN

Comments

bilekastoday at 12:40 AM

I've come across this before. Maybe a few years ago, but the surface area was too high. How do you navigate your security ?

xrdyesterday at 11:01 PM

I have used cockpit and like it. It allows me to quickly see the entirety of my system.

But, it doesn't offer any way to review my incus containers.

So, I tried wolfstack, which was recently listed on HN.

It appears it only supports lxc. I'm surprised, isn't lxc and incus more or less 1:1 synonymous (unless you get into recent more complexities)?

I'm feeling like it is hard to find a simple GUI to just review a system and manage a bunch of containers and VMs.

show 4 replies
ElijahLynnyesterday at 10:46 PM

Would be nice if the landing page had some graphical pictures for a graphical interface...

show 1 reply
Gabrys1yesterday at 10:06 PM

I tried using this to handle my 10-ish Docker containers, but I ended up using Portainer. Sure, not the same thing, but if someone (like me) thought Cockpit might be nice for managing a small Docker host, this didn't work for me

show 4 replies
stego-techyesterday at 8:57 PM

I've used this before in the early days of my Linux SysAdmin work, especially in the homelab.

It's pretty solid, but the limited amount of projects and lack of visibility into the CLI it uses on the backend hinder the ability to translate sysadmin work into tangible Linux skills, so I dumped it at home in favor of straight SSH sessions and some TUI stuff.

That said, if I gotta babysit Linux in an Enterprise without something like Centrify? Yeah, Cockpit is a solid, user-friendly abstraction layer, especially for WinFolks.

show 2 replies
dxdxdtyesterday at 11:04 PM

The very first thing I remove when I install Fedora. It's such a bloat that only takes up space and memory for most people.

show 2 replies
TimTheTinkeryesterday at 10:26 PM

I used Webmin[0] back in the day, I wonder how more recent server web UIs like Cockpit stack up.

[0] https://webmin.com/

show 2 replies
bityardyesterday at 9:13 PM

I installed the latest Fedora Server on my Framework Desktop and noticed that Cockpit was enabled automatically. Overall impression is that its pretty good for getting a quick overview of things and you can certainly do _some_ administration with it, but you run into its limitations pretty fast trying to get any serious work done with it.

It's probably great for those who are new to Linux and want that NAS-like admin web UI to get the basics set up as a stepping-stone before launching deep into the command line.

girvoyesterday at 8:58 PM

Cockpit is great! My NAS (built on a weird “N17” AMD 7840HS laptop processor put into a desktop “server”mITX motherboard by those wizards in China) stuck in a Jonsbo N2 with 5x4TB Samsung 870 evos in ZFS raidz1 is entirely managed by it

I keep meaning to look into making plugins for it, but honestly I’ve barely needed to. Cockpit, the 45drives ZFS plugin fork, and the web terminal have been more than enough for me

show 1 reply
montroseryesterday at 11:16 PM

Reminds me of cpanel, from the late 1900s: https://en.wikipedia.org/wiki/CPanel

show 2 replies
SlightlyLeftPadtoday at 12:24 AM

Is it worth switching off Komodo to this?

tombertyesterday at 9:02 PM

I used Cockpit for years after I started having issues with my network card in FreeNAS. It's generally very good, though I never really figured out how to graphically swap out a hard disk in a RAID without trashing the data (which happened once).

I suspect that was user error on my end, so if you want a more-or-less no-nonsense way to manager a server, it's certainly worth checking out.

bookwaryesterday at 10:18 PM

Question from a Cockpit PO: if you were to choose one feature to add to the project what that feature would be?

show 4 replies
plasticsopranoyesterday at 9:09 PM

I tried this out about 2 months ago when setting up a new server. I wanted something simpler and less resource heavy as webmin but it was just too simple. Adding questionable, half baked add-ons to get various functions to work just didn't give me the flexibility of webmin.

mindworkyesterday at 10:39 PM

I don't mind UI, but I think it's a bad approach. Instead of hiding all those complexities of the server behind UI, I would like to see each part of the application teach me how to achieve the same result in CLI. That would be useful for people to teach themselves, because UI comes and goes but basic linux commands - will stay

show 2 replies
roscasyesterday at 9:17 PM

It is very nice. I hope more apps and options are added as it makes very simple to do some admin tasks. Want to manage services? No problem, it is very easy. Clear failed and disable? Easy. Want to see some disks and do admin operations on disks? It does. Want a simple system monitor? It tracks cpu, ram and more in a pretty interface. RHEL is dropping old interfaces like cluster management and starting to use Cockpit only. I just wish Cockpit would replace Hawk2 for cluster management as it is better then the old deprecated cluster manager web interface. But yes, install Cockpit or keep it installed ready to be use cause one day it saves the day...

jedbergyesterday at 11:13 PM

Does anyone else remember when someone ported kill to the DOOM engine? So you could fire up DOOM and kill processes using different guns for different kill levels?

I don't know why but this reminded me of that.

show 1 reply
Tepixyesterday at 11:12 PM

I don‘t like the whole idea because it is less secure to have a web browser instead of a standard client. Think what an attacker could do if they take control of the server.

show 2 replies
drnick1yesterday at 10:19 PM

What is the use case for this over standard command line tools like systemctl, journalctl, top, docker ps?

show 4 replies
samgranieriyesterday at 11:02 PM

I use this in my homelab. I really appreciate the systemd logging functionality in Cockpit.

It’s miles away from like Webmin, which I used god knows how long ago.

evanjrowleyyesterday at 10:12 PM

Ripe for a supply chain attack. What safeguards do they have to protect against one?

show 3 replies
vixalienyesterday at 11:21 PM

I used to have this, but it takes up so much resources. not fit for small servers.

rovr138yesterday at 9:02 PM

Interesting. This looks nice. Made me think of webmin which I used... years ago.

Went to look and webmin's changed. Pretty crazy.

show 1 reply
NewJazzyesterday at 9:03 PM

Does this work well with fleets? I remember looking at this early on it seemed fairly single-server focused.

show 3 replies
pdntspatoday at 12:10 AM

Sooooo.... webmin?

tryauuumyesterday at 10:16 PM

I had a bad experience with it. We hired a contractor and he

1. insisted on a pre-war version of ubuntu

2. insisted on the cockpit. So you no longer can modify the NFS exports over ssh, you need to connect to this HTTP abomination. Very nice. Always wanted to open more ports on my servers

show 2 replies
MobileVetyesterday at 11:03 PM

But does it work on a Gibson??

WorldPeasyesterday at 10:16 PM

cockpit has a great virtualization interface, in my opinion this alone makes it a better "buy" than truenas for a home server.

andrewstuart2yesterday at 11:40 PM

As a certified graybeard (just literally graying on my beard now) who now prefers the CLI, I am SO GLAD that tools like this exist. I owe probably all of my high job satisfaction and higher income to the fact that I got to play around with Linux via Ubuntu (and Compiz Fusion via CCSM) and later Webmin and other tools I eventually played around with. I learned so much without realizing I'd be using it later, though IIRC it involved much swearing and gnashing of teeth. It's crazy to think that 20 years later so much of it comes naturally. Though I'm still learning just as much (with just as much swearing at the computer usually) every day.

poppafuzeyesterday at 10:05 PM

When it evolved a couple years ago to automatically set up the bridge for libvirt correctly, it had arrived. When that thing can set up pushbutton podman apps with decent net and persistence defaults it will be gold.

jonymyesterday at 9:25 PM

the opinion you didn't ask for:

avoid admin UIs... at best they make you lazy, at worst a security nightmare

show 2 replies
grigioyesterday at 9:57 PM

Very well done. For me cockpit is more than enough a mainstream proxmox

Heer_Jyesterday at 11:43 PM

[dead]