containers: Update ws README for podman container hosts

Still keep the atomic documentation, as RHEL Atomic will be around for
several years still.

Fixes #11002
This commit is contained in:
Martin Pitt 2019-11-07 16:44:17 +01:00 committed by Martin Pitt
parent eae0472380
commit a8a4c13727
1 changed files with 19 additions and 6 deletions

View File

@ -1,16 +1,29 @@
# Cockpit Web Service Container
# Cockpit on Fedora CoreOS or other container hosts
Atomic contains the Cockpit bridge process, but not the Web Service. This means you can add an Atomic host to another Cockpit dashboard, but not connect to it directly.
Standard Fedora and Red Hat Enterprise Linux CoreOS platforms don't contain any
Cockpit packages. To install these, run
If you want to connect directly to your Atomic Host with your web browser, use this privileged container.
# rpm-ostree install cockpit-system cockpit-networkmanager
Run it like so:
or include these packages into your own OSTree configs, or install them with
the package manager of your operating system.
# atomic run cockpit/ws
Depending on your configuration, you may want to use other extensions as well,
like cockpit-kdump or cockpit-podman.
After that you can add this host to another Cockpit dashboard, but not connect to it directly. If you want to do that, you need to run the Cockpit web service with this privileged container:
# podman container runlabel RUN cockpit/ws
And then use your web browser to log into port 9090 on your host IP address as usual.
Important: This expects that Atomic (the host operating system) has the cockpit-bridge executable and cockpit-system package.
# Cockpit Web Service Container on Atomic
Fedora and Red Hat Enterprise Linux Atomic contains the Cockpit bridge (cockpit-bridge package) and basic pages (cockpit-system package). Thus you can connect from remote cockpit hosts through ssh without further modification.
These older operating systems use docker instead of podman and have an `atomic` command that wraps it. To start a web service directly on these hosts, run
# atomic run cockpit/ws
## More Info