Code Monkey home page Code Monkey logo

Comments (2)

pradipd avatar pradipd commented on July 21, 2024

@arjun024 Can you add the commands to create the container and network?
I've tried to repro on 17733 and couldn't repro. I tried the following:

  1. docker run -d --rm -it --network none --name test windowsservercore powershell sleep 50000
  2. nat.
  3. docker exec test ipconfig /all
    DNS Servers . . . . . . . . . . . : 222.111.111.222
    123.123.123.123

And, I also tried creating my own nat network using:
docker network create --driver=nat n

And I get the same result as above.

Thanks.

from hcsshim.

ankeesler avatar ankeesler commented on July 21, 2024

@pradipd thank you for trying this out. We were able to reproduce the behavior that you saw above using the mcr.microsoft.com/windowsservercore-insider:10.0.17733.1000 container image.

However, this issue seems to still exist when we disable the dnscache service in a child container image. When we add this line in a Dockerfile that uses mcr.microsoft.com/windowsservercore-insider:10.0.17733.1000 as its base image, we are able to reproduce the original behavior that we reported in this github issue. We originally made this change to our container image to resolve DNS flakiness from inside the container (see #150). Per the most recent comment in that github issue, it sounds like we can keep the dnscache service on in our container image. We will try this going forward.

from hcsshim.

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.