explaingit

cockpit-project/cockpit

14,066JavaScriptAudience · ops devopsComplexity · 3/5Setup · easy

TLDR

Cockpit is an open-source web interface for managing Linux servers, start services, configure networking, browse logs, and manage storage from a browser, with changes staying in sync with the command line.

Mindmap

mindmap
  root((Cockpit))
    What it does
      Web UI for Linux servers
      Visual server management
    Features
      Start and stop services
      Network configuration
      Storage management
      Container management
      System log browser
    Multi-server
      Connect via SSH
      Jump between hosts
    Sync with terminal
      Changes reflected both ways
    Distributions
      Debian Fedora RHEL
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Manage a Linux server visually from a browser without memorizing command-line syntax for services, networking, and storage.

USE CASE 2

Monitor system logs in Cockpit while also working in a terminal, with both views staying in sync automatically.

USE CASE 3

Administer multiple Linux servers from a single Cockpit session by connecting to additional machines over SSH.

USE CASE 4

Manage containers on a Linux server using Cockpit without using the Docker CLI.

Tech stack

JavaScriptPythonC

Getting it running

Difficulty · easy Time to first run · 5min

Install via the system package manager and enable the cockpit.socket service, no complex configuration needed.

No license information is mentioned in the explanation.

In plain English

Cockpit is a tool that lets you manage a Linux server through a regular web browser. Instead of memorizing command-line instructions, you get a visual interface where you can see what is happening on the machine and take action with a few clicks. It runs directly on the server itself and gives you a real session, not just a dashboard of graphs. Things you can do with Cockpit include starting and stopping services, configuring the network, managing storage, browsing system logs, and working with containers. It is designed to be lightweight, so it does not add much overhead to the server it is running on. One useful quality is that Cockpit and the terminal stay in sync. If you start a service using Cockpit, you can stop it from the command line, and vice versa. If something goes wrong in a terminal session, the error shows up in Cockpit's log view as well. There is no conflict between using the web interface and working directly in a shell. You can also connect to multiple servers from a single Cockpit session, as long as those machines are reachable over SSH and also have Cockpit installed. This lets you jump between hosts without opening separate terminal windows or managing separate logins. Cockpit is available for several major Linux distributions including Debian, Fedora, and RHEL. The project is open source and has an active development community with a mailing list, a Matrix chat channel, and documentation for contributors who want to help build or extend it.

Copy-paste prompts

Prompt 1
Walk me through installing Cockpit on an Ubuntu 22.04 server, enabling it as a systemd service, and accessing it from a browser on port 9090.
Prompt 2
I'm using Cockpit to manage my Fedora server. How do I add a second server running Debian so I can jump between both hosts from the same Cockpit session over SSH?
Prompt 3
Show me how to use the Cockpit Storage interface to create an LVM volume group from two physical disks, create a logical volume, and format it as ext4.
Prompt 4
I started a systemd service from the Cockpit Services page. What exact systemctl command did Cockpit run under the hood, and how can I verify it from the terminal?
Prompt 5
How do I build a custom Cockpit page that shows current CPU temperature and disk health from smartmontools output, following the official plugin development guide?
Open on GitHub → Explain another repo

← cockpit-project on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.