Giter Club home page Giter Club logo

Comments (10)

michaelwiller avatar michaelwiller commented on July 23, 2024 1

I have created a rule in the firewall allowing incoming traffic for TCP/UPD on ports 139,445 on net 10.0.75.0/24. This seems to resolve matters.

Can anyone think of a better way?

from for-win.

yetanotherchris avatar yetanotherchris commented on July 23, 2024 1

I was having the exact same problem as @michaelwiller but trying to map to a folder on C:

docker run -it -v /C/Code/Nginx/logstash:/config-dir logstash bash -c "ls /config-dir"

The firewall rules fixed it (along with a Docker restart). I'm not tying it down to an IP.

from for-win.

yetanotherchris avatar yetanotherchris commented on July 23, 2024 1

For anyone viewing this, here's two lines of powershell for the firewall rule:

 New-NetFirewallRule -DisplayName "Docker For-Win TCP" -Direction Inbound –LocalPort 139, 445 -Protocol TCP -Action Allow
 New-NetFirewallRule -DisplayName "Docker For-Win UDP" -Direction Inbound –LocalPort 139, 445 -Protocol UDP -Action Allow

from for-win.

michaelwiller avatar michaelwiller commented on July 23, 2024

Disabling Norton firewall and auto-protect allows the share to work. Even works with Norton protection reenabled. Restart Docker and the connection is lost again.
I have trust set up for com.docker.proxy, slirp and Docker for Windows.
Q: What traffic do I need to allow through?

from for-win.

michaelwiller avatar michaelwiller commented on July 23, 2024

Glad I could help :)
This is why I left it open. Closing the issue and prefixing with "SOLVED:"

from for-win.

lypanov avatar lypanov commented on July 23, 2024

The above Powershell should really be in the documentation. It's just not enough to have to search for 10 minutes to find this Github issue.

from for-win.

friism avatar friism commented on July 23, 2024

@simonferquel could we auto-open these ports during install?

from for-win.

simonferquel avatar simonferquel commented on July 23, 2024

@friism it is already done on beta channel (and stable 1.13 will have it)

from for-win.

friism avatar friism commented on July 23, 2024

@simonferquel awesome, thx

from for-win.

docker-robott avatar docker-robott commented on July 23, 2024

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

from for-win.

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.