Commit 69a6caac authored by Feddal Nordine's avatar Feddal Nordine

doc/improve-docker-doc: add notice for nginx error message when port 80 is already used

parent 40b09210
Pipeline #154745 passed with stages
in 2 minutes and 37 seconds
......@@ -213,7 +213,25 @@ Click on `init database` and create a first account by entering an email.
This account is the main root account of the server. Other administrators could then be created.
It will be also the web2py admin password.
*notice* : By default, Nginx HTTP server listens for incoming connection and binds on port 80, if you encounter the following message error:
```
ERROR: for nginx
Cannot start service nginx: driver failed programming external
connectivity on endpoint docker_nginx_1
(236d0696ed5077c002718541a9703adeee0dfac66fb880d193690de6fa5c462e):
Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
```
you can resolve it by :
- Find the service using port 80:
```
sudo netstat -tlnp | grep 80
```
- Then stop the service using port 80:
```
sudo service service_name stop
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment