Comments (10)
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.
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.
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.
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.
Glad I could help :)
This is why I left it open. Closing the issue and prefixing with "SOLVED:"
from for-win.
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.
@simonferquel could we auto-open these ports during install?
from for-win.
@friism it is already done on beta channel (and stable 1.13 will have it)
from for-win.
@simonferquel awesome, thx
from for-win.
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)
- Docker HOT 1
- Docker Desktop - Unexpected WSL error HOT 2
- Automatic Update Moved Storage Location and Won't let me move back. HOT 3
- Docker Desktop Update Fails to Install After Uninstalling Previous Version on Windows 10 Enterprise HOT 1
- Docker Desktop wsl unexpected error HOT 7
- not runing HOT 1
- Tray icon doesn't disappear until I hover over it.
- Docker Desktop - Unexpected WSL error
- Docker Desktop Update breaks MongoDB connection
- Docker diagnositics HOT 2
- Docker Desktop - Unexpected WSL error HOT 2
- Docker Desktop - WSL update failed
- Docker Desktop - WSL Update Failed with Error Code 4294967295 HOT 1
- The same WSL issue everyone is having HOT 1
- can not install Docker 4.30.0 on Windows 10.
- Docker not starting HOT 2
- Unable to move disk image location to another drive HOT 2
- docker desktop wsl update failed HOT 4
- Cannot open docker desktop HOT 1
- Transferring context is slow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-win.