example-voting-app icon indicating copy to clipboard operation
example-voting-app copied to clipboard

error of run docker-compose up --build

Open li-yizhi opened this issue 5 years ago • 1 comments

Please provide the following information so we can assess the issue you're having

Description

Follow instruct Start a sample application error of run docker-compose up --build.

Steps to reproduce the issue, if relevant: 1.Install Docker Desktop on Windows 2.Start a Redis container 3.download the Example voting app from the Docker samples page. 4.run docker-compose up --build

Describe the results you received: ERROR: Encountered errors while bringing up the project. Describe the results you expected: the application successfully starts Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

ERROR: for result Cannot start service result: Ports are not available: listen tcp 0.0.0.0:5858: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.): Docker for Windows

li-yizhi avatar Feb 10 '20 12:02 li-yizhi

listen tcp 0.0.0.0:5858: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

sounds more like a permission problem with your docker on windows, not the voting app

azrdev avatar Mar 23 '20 11:03 azrdev

Closing this issue now that it's 2+ years old and we've been fixing a lot of issues. If it's still an issue, feel free to open a new issue and we'll gladly investigate. Apologies that it's taken so long to respond to you!

mikesir87 avatar Dec 17 '22 02:12 mikesir87