Bug 1365206

Summary: Cockpit pulls in cockpit-docker by default
Product: Red Hat Enterprise Linux 7 Reporter: Dominik Perpeet <dperpeet>
Component: cockpitAssignee: Dominik Perpeet <dperpeet>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 7.2CC: bmcclain, fdeutsch, huzhao, jscotka, mgoldboi, ycui
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1349375 Environment:
Last Closed: 2016-08-08 20:40:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1349375    
Bug Blocks: 1309887, 1329957    

Comment 1 Dominik Perpeet 2016-08-08 15:37:39 UTC
We only fixed the dependency on docker from cockpit-shell in 0.113, but the cockpit metapackage still pulls in cockpit-docker.

Comment 2 Dominik Perpeet 2016-08-08 15:42:10 UTC
The question is, do we want cockpit to pull in docker where available? How will someone who has docker know to install cockpit-docker?

Comment 4 Dominik Perpeet 2016-08-08 20:40:00 UTC
After some discussion Stef Walter, Fabian Deutsch and I came to the conclusion that it wouldn't be good for now to remove cockpit-docker from the cockpit metapackage. Cockpit is about discoverability, and right now a user would have difficulty finding out about cockpit-docker.

For that reason it is recommended that consumers who aren't happy with the choice of packages required by the metapackage be picky about what they pull in, at least until all affected distributions support Recommends/Suggests nomenclature in their packaging.

Discounting cockpit-docker, a consumer would need to use the following packages to get the equivalent experience:

cockpit-bridge
cockpit-shell
cockpit-ws
cockpit-storaged
cockpit-networkmanager (only non-RHEL)

On RHEL, a few upstream packages are part of the cockpit-shell package:
cockpit-subscriptions, cockpit-sosreport and cockpit-networkmanager

cockpit-ws can of course also be replaced with the cockpit-ws-docker container.

Spec file: https://github.com/cockpit-project/cockpit/blob/ce83dc7103c79a569663e8903e80ca6c1d97ab6c/tools/cockpit.spec#L90