cockpit-ws must not be installed in the host
Error: `/proc/self/exe run --rm --privileged -v /:/host -e IMAGE=quay.io/cockpit/ws:latest quay.io/cockpit/ws:latest /container/label-install quay.io/cockpit/ws:latest` failed: exit status 1
Unless the offical documentation somehow installs cockpit-ws on the host somehow, I didn’t explicitly install it.
I think I figured out the problem. In the process of installing cockpit, I also installed some cockpit extensions as suggested by the official documentation. Well, in this process, I somehow also installed the cockpit-identities package which pulls in the cockpit package which also pulls in the package cockpit-ws
For anyone’s future reference, I figured this out with the following commands:
Figure out what package requires cockpit-ws: rpm -q --whatrequires cockpit-ws
cockpit-250.1.1-1.el8.x86_64 is the output
Figure out what requires cockpit: rpm -q --whatrequires cockpit cockpit-identities-0.1.12-1.el8.noarch is the output.
and nothing requires cockpit-identities so it’s removed
rpm -q --whatrequires cockpit-identities no package requires cockpit-identities is the output