Docker Community Forums

Share and learn in the Docker community.

Build failed : OSError(12, 'Cannot allocate memory')

Hi,

We have this OS error building an image:

Preparing transaction:

...working...

done

Verifying transaction:

...working...

done

Executing transaction:

...working...

failed

ERROR conda.core.link:_execute(568): An error occurred while installing package 'conda-forge::astor-0.7.1-py_0'.

OSError(12, 'Cannot allocate memory')

Attempting to roll back.

Rolling back transaction: ...working...

done

CondaMultiError: [Errno 12] Cannot allocate memory

Removing intermediate container cd9625a5e589

The command '/bin/sh -c conda config --append channels conda-forge --append channels thomasfillon --append channels soumith && conda env update --file environment-pinned.yml && conda clean --all --yes' returned a non-zero code: 1

Full log:
https://pastebin.com/GeCabzAc

Repo:
https://hub.docker.com/r/parisson/timeside

Would you please have an idea to fix this, maybe increasing the allocated memory for building?

Thanks for your help!