mirror-cockpit-project-cockpit/containers
Jelle van der Waa ad4176e4ca treewide: Enable strict equality everywhere
Making test-functions strict required some test adjustments where we
incorrectly expected an number while we receive in fact a string. As
getAttribute() returns either a string or null.
2026-11-03 17:37:17 +01:00
..
flatpak treewide: Enable strict equality everywhere 2026-11-03 17:37:17 +01:00
ws containers/ws: Move to Fedora 44 2026-10-19 09:35:44 +02:00
Makefile.am containers: re-use release.sh for building the ws-container 2026-02-18 18:17:56 +01:00
README.md containers/ws: Add quick iteration developer target 2026-01-23 16:09:26 +01:00

Cockpit Containers

  • ws: Cockpit's web server, for installation on CoreOS; uses SSH to connect to the local host or remote machines
  • bastion: A reduced variant of the web server that runs unprivileged, and can only connect to remote machines. Suitable for deploying on e.g. Kubernetes. This is currently a prototype.
  • unit-tests: Our project's unit tests run in this container; usually on GitHub PRs, but you can also run it locally for reproducing failures.
  • flatpak: Scripts for locally building, running, and testing our Cockpit Client flatpak.

See the individual README.md files in the subdirectories for details.

ws container development

Build the container:

make ws-container

You can install locally built RPMs by copying them into the ws/rpms/ directory.

For fast iteration, you can also build the container with the binaries (cockpit-ws, cockpit-tls, etc.) and the pages (dist/*) from the local build tree. For that to work, you have to build the project on the same OS as the container, and configure with --prefix=/usr. No warranties, you have to know what you are doing!

make ws-container-build-tree

Run the built container and log in interactively as a shell:

make ws-container-shell

When running docker the 'sudo' command will be used to get necessary privileges.