Skip to content

ERROR [2/4] RUN yum -y install httpd #4

@Justin-JHG

Description

@Justin-JHG

getting above error when doing building container for app2-containerofcats
https://learn.cantrill.io/courses/docker-fundamentals/lectures/44660840


 > [2/4] RUN yum -y install httpd:
0.519 Updating Subscription Management repositories.
0.519 Unable to read consumer identity
0.525
0.525 This system is not registered with an entitlement server. You can use subscription-manager to register.
0.525
0.978 Red Hat Universal Base Image 8 (RPMs) - BaseOS  0.0  B/s |   0  B     00:00
0.979 Errors during downloading metadata for repository 'ubi-8-baseos-rpms':
0.979   - Curl error (60): Peer certificate cannot be authenticated with given CA certificates for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/repodata/repomd.xml [SSL certificate problem: unable to get local issuer certificate]
0.997 Error: Failed to download metadata for repo 'ubi-8-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions