YUM not working inside amazonlinux container running on a Ubuntu host

0

While trying to do a yum install wget inside the amazonlinux docker container running on ubuntu, it is failing with the following logs:

r&region=unknown: [Errno 12] Timeout on https://cdn.amazonlinux.com/2/core/2.0/x86_64/60218a287b1e04d5b93212019453c3417aa7bc4d1df7895e7c4abfd1e6d824a7/repodata/repomd.xml?instance_id=URLError&region=unknown: (28, 'Resolving timed out after 5000 milliseconds')
2022-09-19 17:37:05,172:[prepare]:[ERROR]:: #5 23.95 Trying other mirror.

There is internet connection inside the container, as I am able to curl www.google.com and get a successful response.

AWS
posta 2 anni fa1539 visualizzazioni
1 Risposta
0

Not sure if there is a proxy issue happening here but perhaps see this to get some pointers for "Resolving timed out after 5000 milliseconds". It does not have use case of amazonlinux container running but perhaps can provide some pointers to troubleshoot Reference : https://aws.amazon.com/premiumsupport/knowledge-center/ec2-troubleshoot-yum-errors-al1-al2/

profile pictureAWS
ESPERTO
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande