[ADD] doc FAQ: help when got non-verlapping IPv4 address pool docker-compose

This commit is contained in:
Mathieu Benoit 2023-08-24 17:09:27 -04:00
parent 2fc9aacba7
commit a6e25f5234
2 changed files with 13 additions and 5 deletions

2
.gitignore vendored
View file

@ -24,5 +24,5 @@ get-poetry.py
artifacts
wkhtmltox*
cache
node_modules
docker-compose.override.yml

View file

@ -153,15 +153,23 @@ Add line at the end of config.conf
limit_memory_hard = 0
```
### Docker - All interface bind docker
## Docker - All interface bind docker
Create a subnet
### Error non-overlapping IPv4 address pool
You got this error when you start a
docker-compose: `ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network`
It's because the subnet is limited, you need to change it.
Create a subnet :
```bash
sudo docker network create localnetwork --subnet 10.0.1.0/24
docker network create localnetwork --subnet 10.0.1.0/24
```
And create `docker-compose.override.yml` at root project with
Create a new file `docker-compose.override.yml` at the root of ERPLibre, at same level of your docker-compose.yml and
fill with:
```yaml
version: '3'