Merge pull request #49 from abdoo9/patch-1

Update DOCKER.md
This commit is contained in:
Daniil Gentili 2024-06-20 09:06:02 +02:00 committed by GitHub
commit de8a2ba3e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,7 @@ To get started, install `docker`:
curl -fsSL https://get.docker.com | sudo sh curl -fsSL https://get.docker.com | sudo sh
``` ```
Then increase the `max_map_count` sysctl configuration to avoid "Fiber stack allocate failed" and "Fiber stack protect failed" errors, since the PHP engine mmaps two memory regions per fiber. Then increase the `max_map_count` sysctl configuration to avoid "Fiber stack allocate failed" and "Fiber stack protect failed" errors, since the PHP engine maps two memory regions per fiber.
```bash ```bash
echo 262144 | sudo tee /proc/sys/vm/max_map_count echo 262144 | sudo tee /proc/sys/vm/max_map_count