Bug 1650355

Summary: Cannot find docker package in RHEL 8 Beta
Product: Red Hat Enterprise Linux 8 Reporter: Scott McCarty <smccarty>
Component: podmanAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: ddarrah, dwalsh, jligon, lsm5, sardella, walters, ypu
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 12:35:32 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:    
Bug Blocks: 1785242    

Description Scott McCarty 2018-11-15 23:28:58 UTC
Description of problem:
Use types "docker install" and they receive an error.


Version-Release number of selected component (if applicable):
RHEL 8 Beta


How reproducible:
100%

Steps to Reproduce:
1. yum install docker



Actual results:

Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 1:38:06 ago on Thu 15 Nov 2018 04:48:18 PM EST.
No match for argument: docker
Error: Unable to find a match


Expected results:

Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 1:38:33 ago on Thu 15 Nov 2018 04:48:18 PM EST.
Dependencies resolved.
===============================================================================================================================
 Package            Arch        Version                                       Repository                                  Size
===============================================================================================================================
Installing:
 podman-docker      noarch      0.10.1.3-5.gitdb08685.el8+2131+7e3e9e07       rhel-8-for-x86_64-appstream-beta-rpms       24 k

Transaction Summary
===============================================================================================================================
Install  1 Package

Total download size: 24 k
Installed size: 2.7 k
Is this ok [y/N]: 



Additional info:

Solution could follow a pattern similar to what "vi" and "vim" does, but using "Provides" directive in the package. As long as Provides: docker was specified this could work. Another nice thing to have would be to call this package "docker-compat" instead of "podman-docker"

Comment 1 Daniel Walsh 2018-11-16 11:10:25 UTC
Makes sense to me.

We should just have podman-docker include a 
provides: docker

It will also need to have a 

conflicts: docker-ce docker-ee...

Depending on what Docker, inc calls their packages.

Comment 3 Colin Walters 2018-11-18 21:58:42 UTC
I dunno...it's not the same thing.

I feel like with this we're working too much within the constraints imposed by the packaging model.

We could just hardcode yum to link to a customer portal article if you `yum install docker` for example.

Sure, it's slightly technically gross but the user experience IMO would be significantly more informative.

Comment 6 Joy Pu 2019-02-25 07:06:29 UTC
Test with new rpm and seems it works as expect. Details:
]# yum install docker
Updating Subscription Management repositories.
Updating Subscription Management repositories.
Last metadata expiration check: 0:04:59 ago on Mon 25 Feb 2019 01:59:53 AM EST.
Dependencies resolved.
==============================================================================================================================================================================================
 Package                           Arch                       Version                                                          Repository                                                Size
==============================================================================================================================================================================================
Installing:
 podman-docker                     noarch                     1.0.0-2.git921f98f.module+el8+2784+9a0c1dfe                      rhel-8-for-x86_64-appstream-htb-rpms                      28 k

Transaction Summary
==============================================================================================================================================================================================
Install  1 Package

Total size: 28 k
Installed size: 3.5 k
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] podman-docker-1.0.0-2.git921f98f.module+el8+2784+9a0c1dfe.noarch.rpm: Already downloaded                                                                                           
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                      1/1 
  Installing       : podman-docker-1.0.0-2.git921f98f.module+el8+2784+9a0c1dfe.noarch                                                                                                     1/1 
  Running scriptlet: podman-docker-1.0.0-2.git921f98f.module+el8+2784+9a0c1dfe.noarch                                                                                                     1/1 
  Verifying        : podman-docker-1.0.0-2.git921f98f.module+el8+2784+9a0c1dfe.noarch                                                                                                     1/1 
Installed products updated.

Installed:
  podman-docker-1.0.0-2.git921f98f.module+el8+2784+9a0c1dfe.noarch                                                                                                                            

Complete!