Blog posts

You can also Subscribe to Atom feeds in a feed reader.

Cockpit 0.77 Released

  • Componentizing Cockpit
  • The URLs changed
  • Authentication when Embedding Cockpit
  • Deleting and Adjusting Kubernetes Objects
  • Warning when too many machines
  • From the Future

Making REST calls from Javascript in Cockpit

Not all of the system APIs use DBus. So sometimes we find ourselves in a situation where we have to use REST (which is often just treated as another word for HTTP) to talk to certain parts of the system. For example Docker has a REST API.For this tutorial you’ll...

Cockpit's Kubernetes Dashboard

Here’s a video showing what I’ve been working on together with some help from a couple Cockpit folks. It’s a Cockpit dashboard for Kubernetes.If you haven’t heard about Kubernetes … it’s a way to schedule docker containers across a cluster of machines, and take care of their networking, storage, name...

Protocol for Web access to System APIs

A Linux system today has a lot of local system configuration APIs. I’m not talking about library APIs here, but things like DBus services, command/scripts to be executed, or files placed in various locations. All of these constitute the API by which we configure a Linux system. In Cockpit we...

Cockpit on RHEL Atomic Beta

If you’ve tried out the RHEL Atomic Host Beta you might notice that Cockpit is not included by default, like it is in the Fedora Atomic or CentOS Atomic. But there’s an easy work around:$ sudo docker run --privileged -v /:/host -d stefwalter/cockpit-atomic:wipThis is an interim solution, and has some...

Using DBus from Javascript in Cockpit

Much of Cockpit interacts with the server using DBus. We have a powerful yet simple API for doing that, and you should use DBus too when building your own Cockpit user interfaces. For this tutorial you’ll need at least Cockpit 0.41. A few tweaks landed in that release to solve...

DBus is powerful IPC

D-Bus is powerful IPC Cockpit is heavily built around DBus. We send DBus over ourWebSocket transport,and marshal them in JSON.DBus is powerful, with lots of capabilities. Not all projects use all of these, but so many ofthese capabilities are what allow Cockpit to implement its UI. Method Call Transactions Object...

Cockpit Multi-Server Dashboard

Andreas and Marius have been working on implementing a new multi-server dashboard for Cockpit. It’s really looking great.The goal here is that the dash board should work with either one server or several,and give you an overview of what’s going on. Problems that require attention shouldbe highlighted clearly. You should...

Cockpit has Docker pull support

Cockpit 0.12 now has support for pulling Docker images from theDocker registry.Unfortunately Docker doesn’t have support for cancelling the pull of an image. So thatsort of hampers the UI a bit. At least for now.

Cockpit does Docker

Here’s a short video showing how Cockpit manages Docker containers.Cockpit is in RHEL branding here, but it’s basically the same thing asyou get from cockpit-project.orgThis UI is going to be refined somewhat, but it’s nice to see thingscoming together.