[ADD] doc FAQ: docker when missing network interface
This commit is contained in:
parent
b22cbe879e
commit
6c1522ff99
1 changed files with 19 additions and 0 deletions
19
doc/FAQ.md
19
doc/FAQ.md
|
|
@ -148,3 +148,22 @@ Add line at the end of config.conf
|
||||||
```
|
```
|
||||||
limit_memory_hard = 0
|
limit_memory_hard = 0
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Docker - All interface bind docker
|
||||||
|
|
||||||
|
Create a subnet
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo docker network create localnetwork --subnet 10.0.1.0/24
|
||||||
|
```
|
||||||
|
|
||||||
|
And create `docker-compose.override.yml` at root project with
|
||||||
|
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: '3'
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: localnetwork
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue