Skip to content
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

Docker: Port allocation error #12

Closed
dev7ch opened this issue Jan 9, 2018 · 3 comments
Closed

Docker: Port allocation error #12

dev7ch opened this issue Jan 9, 2018 · 3 comments

Comments

@dev7ch
Copy link
Contributor

dev7ch commented Jan 9, 2018

Until this step all works fine, but it looks like the same container is started more then one time, error output:

Starting docker_luya_web_1 ...
docker_luya_db_1 is up-to-date
Starting docker_luya_web_1
Starting docker_luya_composer_1 ...
docker_luya_php_1 is up-to-date
Starting docker_luya_web_1 ... error

ERROR: for docker_luya_web_1  Cannot start service luya_web: driver failed programming external connectivity on endpoint docker_luya_web_1 (042b3502caf1ee94de8b52bbf719493ca128109eb65666670ec7365db96946aa): Error starting userland proxy: BiStarting docker_luya_composer_1 ... done

ERROR: for luya_web  Cannot start service luya_web: driver failed programming external connectivity on endpoint docker_luya_web_1 (042b3502caf1ee94de8b52bbf719493ca128109eb65666670ec7365db96946aa): Error starting userland proxy: Bind for 0.0.0.0:8080 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
@rainerCH
Copy link
Contributor

rainerCH commented Jan 9, 2018

Do you have another Service running on Port 8080 already?

@nadar
Copy link
Member

nadar commented Jan 9, 2018

You can also try to change the port in the yaml file. Also make sure not to run the composer up command twice in two terminals.

@dev7ch
Copy link
Contributor Author

dev7ch commented Jan 9, 2018

Yes, there have been other services running on port 8080, after stopping them all I can confirm all went fine.

Regarding changing the port it didn´t work out, maybe cause of the TCP is still set to 80:

     Up 8 seconds        80/tcp, 0.0.0.0:3000->3000/tcp   docker_luya_web_1

however thamls for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants