Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot download repomd.xml #2738

Open
avinash89-chavan opened this issue Dec 14, 2023 · 0 comments
Open

Cannot download repomd.xml #2738

avinash89-chavan opened this issue Dec 14, 2023 · 0 comments

Comments

@avinash89-chavan
Copy link

When i try to run the command: ./buildContainerImage.sh -v 19.3.0 -e
I am getting the following error:
=> ERROR [base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install 0.4s

[base 4/4] RUN chmod ug+x /opt/install/*.sh && sync && /opt/install/checkSpace.sh && /opt/install/setupLinuxEnv.sh && rm -rf /opt/install:
0.362 Oracle Linux 8 BaseOS Latest (aarch64) 0.0 B/s | 0 B 00:00
0.362 Errors during downloading metadata for repository 'ol8_baseos_latest':
0.362 - Curl error (7): Couldn't connect to server for https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/aarch64/repodata/repomd.xml [Failed to connect to 127.0.0.1 port 9000: Connection refused]
0.367 Error: Failed to download metadata for repo 'ol8_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried


Dockerfile:89

I can curl https://yum.oracle.com/repo/OracleLinux/OL8/baseos/latest/aarch64/repodata/repomd.xml from my mac.

running the following also produces the same error:
docker run --rm -it oraclelinux:7-slim curl -vvI https://yum.oracle.com/repo/OracleLinux/OL7/UEKR4/x86_64/repodata/repomd.xml

  • About to connect() to proxy 127.0.0.1 port 9000 (#0)
  • Trying 127.0.0.1...
  • Connection refused
  • Failed connect to 127.0.0.1:9000; Connection refused
  • Closing connection 0
    curl: (7) Failed connect to 127.0.0.1:9000; Connection refused

My docker config.json has the following:
"proxies": {
"default": {
"httpProxy": "http://127.0.0.1:9000",
"httpsProxy": "http://127.0.0.1:9000"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant