mirror-cockpit-project-cockpit/containers
Freya Gustavsson f360268f3b test: Stable Flatpak server field
Flatpak made assertions where a field could be present but not visible
which can cause race conditions where we would input values before the
flatpak browser had a chance to render it.

It was also possible to click the login button before the browser had
registered an input, which could make the button still disabled.

Likewise when logging out we could be loading a page and then executing
logout before the shell had a chance to render, meaning the logout
button doesn't exist.

Signed-off-by: Freya Gustavsson <freya@venefilyn.se>
2026-10-19 12:55:50 +02:00
..
flatpak test: Stable Flatpak server field 2026-10-19 12:55:50 +02: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.