Closed chunhualiao closed 4 years ago
Error message when following the instructions at https://github.com/chunhualiao/freeCompilerCamp/wiki/Deploy-FreeCC-to-AWS
docker run -d \
-e DIND_IMAGE=franela/dind \ -e GOOGLE_RECAPTCHA_DISABLED=true \ -e MAX_PROCESSES=10000 \ -e EXPIRY=2h \ --name pwd \ -p 5010:3000 \ -p 443:3001 \ -v /var/run/docker.sock:/var/run/docker.sock -v sessions:/app/pwd/ \ --restart always \ franela/play-with-docker:latest ./play-with-docker --name pwd --cname host1 --save ./pwd/sessions Unable to find image 'franela/play-with-docker:latest' locally latest: Pulling from franela/play-with-docker 88286f41530e: Pull complete 914f87716cbb: Pull complete 037c5a06aa82: Pull complete 7d232e68230a: Pull complete 59d0a20e0a24: Pull complete 086fedbc8425: Pull complete Digest: sha256:50699a536ab4cfc83199e6b9b4730c14f7443f3d68308673f6fab6312d8ce4ee Status: Downloaded newer image for franela/play-with-docker:latest 8cab46bdc76caf78836dabbe6f770204e40445d2ec151a89826121494ee0b6aa docker: Error response from daemon: driver failed programming external connectivity on endpoint pwd (d9b242ca9e7ea25505847ea314e43b9d450392b1301be565a430df85c9017357): Bind for 0.0.0.0:443 failed: port is already allocated.
-e DIND_IMAGE=franela/dind \ -e GOOGLE_RECAPTCHA_DISABLED=true \ -e MAX_PROCESSES=10000 \ -e EXPIRY=2h \ --name pwd \ -p 5010:3000 \ -p 443:3001 \ -v /var/run/docker.sock:/var/run/docker.sock -v sessions:/app/pwd/ \ --restart always \ franela/play-with-docker:latest ./play-with-docker --name pwd --cname host1 --save ./pwd/sessions
Unable to find image 'franela/play-with-docker:latest' locally latest: Pulling from franela/play-with-docker 88286f41530e: Pull complete 914f87716cbb: Pull complete 037c5a06aa82: Pull complete 7d232e68230a: Pull complete 59d0a20e0a24: Pull complete 086fedbc8425: Pull complete Digest: sha256:50699a536ab4cfc83199e6b9b4730c14f7443f3d68308673f6fab6312d8ce4ee Status: Downloaded newer image for franela/play-with-docker:latest 8cab46bdc76caf78836dabbe6f770204e40445d2ec151a89826121494ee0b6aa docker: Error response from daemon: driver failed programming external connectivity on endpoint pwd (d9b242ca9e7ea25505847ea314e43b9d450392b1301be565a430df85c9017357): Bind for 0.0.0.0:443 failed: port is already allocated.
Possible reason: port 443 is used by another web server, conflicting the request.
The current docker-compose.yml has HAProxy.
Solution: check if you have haproxy running on the same machine. If so, stop it.
Error message when following the instructions at https://github.com/chunhualiao/freeCompilerCamp/wiki/Deploy-FreeCC-to-AWS
docker run -d \