Update DOCKER.md

fix typo
This commit is contained in:
abdoo9 2024-06-20 00:19:20 +03:00 committed by GitHub
parent 5741538c10
commit 5ccc4bd08e
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
@ -227,4 +227,4 @@ services:
command: php /app/bot.php command: php /app/bot.php
``` ```
<a href="https://docs.madelineproto.xyz/docs/METRICS.html">Next section</a> <a href="https://docs.madelineproto.xyz/docs/METRICS.html">Next section</a>