-
Notifications
You must be signed in to change notification settings - Fork 291
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
Error starting userland proxy: mkdir /port/tcp:0.0.0.0:80:tcp:172.17.0.2:5000: input/output error. #573
Comments
Can you please add a diagnostic id and provide more details? |
Hello ID : 9F12A71E-4AE6-47EC-8210-1ED7FD3BEFA3/2017-03-22_12-10-00 Using docker compose with "Ports" enable to access web server in localhost. Example : OS : Windows 10 x64 Version 1607 / Build : 14393.693 EDIT 1 : Desactiving "Experimantal Features" (checked by default) solve my issue |
Same error message for me. Should I open a new ticket? While doing further tests for this ticket, I made the following observation: For example
The IP was incorrect. Once I made the correction, the command worked as expected. I hope that helps. |
@Magdaflowne do you have the docker-compose file that you're trying to run? @pf-curtis-mitchell no reason to open a new ticket, and happy to hear you got it working. |
I also get this problem does not matter if I use powershell or ubuntu shell, same result all you have to do to reproduce the issue is: |
I also get this issue on an image which was working before. my version of Docker is 1.13.1 (10072) I made no update of Windows, neither Docker between the working/failing state. EDIT: a restart and an upgrade to Docker Tooling 17.03.0-ce-win1 (10296) has fixed the issue for me |
what do you mean by "docker tooling" ? EDIT: I found something like that in logs: EDIT2: issue seems to be gone for no apparent reason... |
Post updated
|
Same Problem with Docker version 17.03.1-ce, build c6d412e |
Same issue... ID: FFAB1CCB-ED9B-4799-A2F7-84B7501121FC/2017-04-06_11-01-38 Using this docker image: puckel/docker-airflow As @Magdaflowne said, unchecking "Experimental features" under "Daemon" seems to have fixed this issue. |
|
solution by @raghavmac works for me, thanks! |
Windows Powershell equivalent of @raghavmac's one-liner to stop all running containers: |
Hi! Unfortunately we are currently facing the same errors. We are running a freshly installed Windows Server 2016 where our developers work using RDP. There are just two containers at the moment: apache-dev (based on centos:7) and redis-dev. The redis container is started as follows:
Both work as expected, but are not heavily used, since we're just evaluating docker in our new environment. I then stop both containers. If I try to start the containers again, I get something like this:
The batch file just contains the commmand from above. This issue hit me various times. Another example: I spawned a bash inside the apache container to test a few things but noticed, there was no internet connectivity. So I stopped the container and got the very same error on starting it. Restarted docker, started the container - spawned a bash, everything ok again. It always seems like network connectivity gets lost after some time - and whatever happens prevents the containers to start again, after they have been stopped. I uploaded a diagnostic, hoping that it helps: I'm happy to provide more details - just don't know where to start my search... Thanks! Nico |
Deactivating experimental features also worked for me |
1 similar comment
Deactivating experimental features also worked for me |
Got this error today with no apparent reason after working well always, and deactivating experimental features solved it. |
+1 to fix by disabling experimental features, it would be nice to know which feature was causing it. |
Anyone that has 'solved' disabling experimental features (that needs a reboot of the VM that we already know can fix the problem) has never seen it happen again for a month or more? |
@daniel-gwilt-software Worked for how long? More than a month of uptime? |
I am starting to suspect that disabling the experimental features isn't "fixing" the issue, but the fact that you press "apply" and the Docker VM reboots upon that action, is actually "fixing" the issue. |
The same issue. Each time I open my Windows 10 laptop (boot the system) and the Docker service starts, I'm unable to bring my Docker Compose project up, because:
Here is the diagnostic ID: After I stop the service (quit docker) and then start it again, everything works fine. Here is my compose file:
|
Yeah, as @rickvanbodegraven said - it has nothing to do with experimental features, it is just restarting Docker that helps. I have Win 10 with docker Postgres container for development bound to my local port. Every time I restart PC - i have to recreate container, otherwise it won't work. That's annoying. |
I had this issue today with Docker for Windows 10 (x64, Community) Version 17.09.1-ce-win42 (14687). As other have said, restarting the daemon fixed it (I still have experimental features enabled). Containers I've been using have been stable for months prior to this. |
+1 for this issue. Previously I had the cold boot startup error where docker would popup a timeout when I first booted my PC (Windows 10 Pro version 1709) but that went away and docker seemed to be working fine until I had to start interacting with containers then I would get this userland proxy issue requiring a VM reboot. |
@Jamby93 I've only been using my current docker set up for a couple weeks, but it is currently working. I'm using docker for development so I turn my containers on and off frequently. If I'm working on the server I could do it 10 or 20 times in a single day. The issue did emerge again, but a simple docker daemon restart fixed it this time. @rickvanbodegraven You may be correct about that. I tried starting my image today, got the proxy error, simply restarted docker and everything worked again. |
Got the same issue with mysql image today. Worked fine yesterday. |
@akshaypurohit 's solution didn't work for me. Imho, restart Docker is not a viable solution (once Docker take centuries to restart on windows). Can any Docker engineer give some thoughts on this issue? Thanks in advance. Nikao |
In my case it was working when I selected "Experimental features" |
@guiprerod, read the entire thread plz. |
Solution: Simply disable "Start Docker Desktop when you log in". This will make Docker start later after logging in and that works for many people. |
This issue should be fixed by #2722 (comment) |
It works, I stop getting this problem after last update. |
I was with the following message:
I changed ports for 81 and it fixed the issue |
Hi there, I have upgraded to the newest docker version (2.1.0.1) and then started to see this issue. Restarting docker does not seem to work/resolve this. Only see this problem go away is when I reinstall docker. Is there some sort of port or firewall related issue that I might be seeing from an enterprise IT restriction? |
Hi, I posted a similary message and I just want you to know something. A wild guess make me think that when you shutdown your computer while docker is running some containers could corrupt the state of networks or containers (for me it was networks). I resetted to factory settings Docker, but next time I'll try only to remove concerned docker network, and try to run again my docker-compose deploy to see if recreating network is sufficent. Hope it helps |
Our team also experiences these issues. I'm wondering if @Vespira is on to something regarding running Containers and the machine going to sleep or being shut down. Either way, this is quite unfortunate that it's been years and this still occurs.
|
I think for each port specified to be exposed for a container docker starts a process, which is not correctly terminated, when docker or the container is shut down. The solution I came up with:
Powershell command to kill a process which is listening on a specified port (requires admin privileges):
Substitude |
|
If anyone using Windows, a simple solution would be to install whatever pending updates of Windows, then restart your computer! It worked for me :) |
Yes it was mentionned few times here and in other threads about this... But for most of us, it can't be a viable solution because re-downloading tons of images and recreating test data is damn slow. My current tip for preventing this was also mentionned; you can disable fastboot on Windows, in the Power options to prevent Docker from being corrupted by an hybrid shutdown ;) |
Do not let Docker start with Windows |
Killing all the processess of docker (backend/proxy/service) and quitting and starting docker once again did the trick for me. |
I found solution for Windows 10:
|
This works for me on Windows 10 and Docker Desktop 2.1.0.5 |
thoughts:
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. 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. |
Expected behavior
Actual behavior
Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: