Code Monkey home page Code Monkey logo

Comments (6)

rmorrise avatar rmorrise commented on May 24, 2024

I tested apt-get update on a separate Ubuntu image to rule out network or corporate proxy issues. I didn't run into any problems with the Ubuntu image.

from container-images.

rmorrise avatar rmorrise commented on May 24, 2024

I think this issue just started happening in the last day or two. Earlier in the week, I built some docker images from the same base image with no problem.

from container-images.

Djelibeybi avatar Djelibeybi commented on May 24, 2024

I can't reproduce the issue, but it could be an Akamai CDN problem i.e. something you're seeing based on your geography.

Can you paste the output of docker run --rm -it oraclelinux:7-slim curl -vvI https://yum.oracle.com

from container-images.

rmorrise avatar rmorrise commented on May 24, 2024
C:\>docker run --rm -it oraclelinux:7-slim curl -vvI https://yum.oracle.com
* Could not resolve host: yum.oracle.com; Name or service not known
* Closing connection 0
curl: (6) Could not resolve host: yum.oracle.com; Name or service not known

from container-images.

rmorrise avatar rmorrise commented on May 24, 2024

Output is below.

I tried hitting the same URL from the ubuntu image, and I got the same output, but it works fine from my web browser. That makes me think maybe it is a corporate proxy issue (and maybe apt-get URLs are handled differently somehow).

I thought that installing Docker Desktop with the windows networking option would avoid Zscaler issues, but it seems there are still some roadblocks.

I'll follow up with our IT folks and close the issue if we're able to resolve it.
Thanks

C:\>docker run --rm -it oraclelinux:7-slim curl -vvI https://yum.oracle.com
* About to connect() to yum.oracle.com port 443 (#0)
*   Trying 23.195.64.183...
* Connected to yum.oracle.com (23.195.64.183) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* Server certificate:
*       subject: CN=yum.oracle.com,O=Oracle Corporation,L=Redwood Shores,ST=California,C=US
*       start date: Jun 21 03:02:54 2019 GMT
*       expire date: Jul 05 03:02:54 2019 GMT
*       common name: yum.oracle.com
*       issuer: CN="Zscaler Intermediate Root CA (zscalertwo.net) (t) ",OU=Zscaler Inc.,O=Zscaler Inc.,ST=California,C=US
* NSS error -8179 (SEC_ERROR_UNKNOWN_ISSUER)
* Peer's Certificate issuer is not recognized.
* Closing connection 0
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

from container-images.

rmorrise avatar rmorrise commented on May 24, 2024

Fixed by adding yum.oracle.com to corporate proxy settings.

from container-images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.