cancel
Showing results for 
Search instead for 
Did you mean: 
Tiu1998
Cadet
Cadet
  • 1,260 Views

Containers in RHEL 9.1

[student@servera ~]$ podman run -d --name db_client --network frontend -v /etc/yum.repos.d:/etc/yum.repos.d registry.access.redhat.com/ubi9/ubi sleep infinity
f4465abfd72e9465ce6f63f8bcbcd728abf0f7a9a93842eb35b656137669074f


[student@servera ~]$ podman ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
50fc3f8c87b4 registry.redhat.io/rhel8/mariadb-105:latest run-mysqld 13 minutes ago Up 13 minutes ago 0.0.0.0:13306->3306/tcp db_01
f4465abfd72e registry.access.redhat.com/ubi9/ubi:latest sleep infinity 4 seconds ago Up 4 seconds ago db_client


[student@servera ~]$ podman exec -it db_client dnf install -y mariadb
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'rhel-9-for-x86_64-baseos-rpms':
- Curl error (58): Problem with the local SSL certificate for https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os/repodata/repomd.xml [could not load PEM client certificate, OpenSSL error error:80000002:system library::No such file or directory, (no key found, wrong pass phrase, or wrong file format?)]
Error: Failed to download metadata for repo 'rhel-9-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

 

Can someone tell me what could have possibly gone wrong ? What mistakes shall I look out for?

Labels (1)
2 Replies
ss_rhlc
Moderator
Moderator
  • 1,193 Views

@Tiu1998 if you are taking a course, which is it ? Can you elaborate on the chapter and section or the name of the exercise ?

 

 

0 Kudos
Wasim_Raja
Moderator
Moderator
  • 1,182 Views

Please open a support case by clicking the "SUPPORT" tab in ROL if you are RHLS subscriber the concerned team will help you.

0 Kudos
Join the discussion
You must log in to join this conversation.