Skip to content

Commit bbe91b5

Browse files
authored
Update faq.md: add shm_size
1 parent d02d8b7 commit bbe91b5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/faq.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,14 @@ services:
150150
healthcheck:
151151
test: ["CMD", "./my-healthcheck"]
152152
```
153+
154+
### The build aborted with an out-of-memory error
155+
You can increase the memory available to the build process by adding a field `shm_size` to the `build` section in your `compose.yaml` file:
156+
157+
```yaml
158+
services:
159+
service1:
160+
build:
161+
context: .
162+
shm_size: 16g
163+
```

0 commit comments

Comments
 (0)