Working With MicroDNF Behind A HTTP/HTTPS Proxy

Solution In Progress - Updated -


  • Running the rhel7-minimal container image's microdnf command behind a HTTP/HTTPS proxy results in the following error:
# podman run --rm -it rhel-minimal:7.5 /bin/bash

bash-4.2# microdnf --enablerepo=rhel-7-server-rpms install bash-completion
Downloading metadata...
(microdnf:8): libdnf-WARNING **: Skipping refresh of rhel-7-server-rpms: cannot update repo 'rhel-7-server-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Curl error (6): Couldn't resolve host name for [Could not resolve host:; Name or service not known]
error: No package matches 'bash-completion'


Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content