Skip to content

Docker compose build fails with exception #88

Answered by mikeplotean
mikeplotean asked this question in Help
Discussion options

You must be logged in to vote

This is caused by running on low resources, in particular memory.

In order to avoid this issue, it is needed to increase the memory limit for docker engine.
This can be done from:

  • docker desktop
  • or the settings.json file

Increase memory limit from docker desktop

  1. open docker desktop
  2. open 'Settings'
  3. select 'Resources'
  4. select 'Advanced'
  5. move the memory knob to the desired value (2nd scrollbar from top)
  6. click 'Apply & Restart'

Increase memory limit from docker settings file

To change the docker engine memory limit, update the memoryMiB value from settings.json file:

  1. Locate the settings.json file:
    • windows: C:\Users\%userprofile%\AppData\Roaming\Docker\settings.json
    • linux: ~/.docker/desk…

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mikeplotean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant