From a6e25f52345292fb2c53588ea86ad074d476e701 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Thu, 24 Aug 2023 17:09:27 -0400 Subject: [PATCH] [ADD] doc FAQ: help when got non-verlapping IPv4 address pool docker-compose --- .gitignore | 2 +- doc/FAQ.md | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 5ea8a44..8f8d39f 100644 --- a/.gitignore +++ b/.gitignore @@ -24,5 +24,5 @@ get-poetry.py artifacts wkhtmltox* cache - node_modules +docker-compose.override.yml diff --git a/doc/FAQ.md b/doc/FAQ.md index f4f06dd..a437b2f 100644 --- a/doc/FAQ.md +++ b/doc/FAQ.md @@ -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'