shyim / shopware-docker

Easy to use Docker Installation for Shopware 5 and Shopware 6
MIT License
115 stars 27 forks source link

Error on fresh installation: address already in use #163

Closed rammi22 closed 2 years ago

rammi22 commented 2 years ago

Describe the bug System: Ubuntu 22.04

With a new installation and swdc up the system deamon response with error: $ swdc up [+] Running 0/1 ⠙ Container shopware-docker-mysql-1 Starting 0.1s Error response from daemon: driver failed programming external connectivity on endpoint shopware-docker-mysql-1 (15892f99ed64a676161b0b127283339a867e77e7ee5e91b4f8fa1609cef247f6): Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use

To Reproduce Steps to reproduce the behavior:

  1. following install construction
  2. run swdc up

Expected behavior no error on a fresh installation

Screenshots `swdc up [+] Running 0/1 ⠙ Container shopware-docker-mysql-1 Starting 0.1s Error response from daemon: driver failed programming external connectivity on endpoint shopware-docker-mysql-1 (15892f99ed64a676161b0b127283339a867e77e7ee5e91b4f8fa1609cef247f6): Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use [+] Running 4/6 ⠿ Container shopware-docker-smtp-1 Started 1.1s ⠿ Container shopware-docker-adminer-1 Started 1.2s ⠿ Container shopware-docker-proxy-1 Starting 1.4s ⠿ Container shopware-docker-cli-1 Started 1.4s ⠿ Container shopware-docker-start_mysql-1 Recreated 0.0s ⠇ Container shopware-docker-mysql-1 Starting 0.8s Error response from daemon: driver failed programming external connectivity on endpoint shopware-docker-proxy-1 (713e7352c47479317dda12f3c82c22ec089a9a40069ff15eb98ea64c52b72523): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

`

Environment:

shyim commented 2 years ago

your port 3306, 80 is bound :D

rammi22 commented 2 years ago

your port 3306, 80 is bound :D

Sorry , but i dont understand. Can yo maybe extend your answer. Ther is no explanation in the docu about ports and its settings

shyim commented 2 years ago

some program is using that port already https://stackoverflow.com/questions/19071512/socket-error-errno-48-address-already-in-use