Leo*_*cia 13 docker dockerfile windows-subsystem-for-linux
I am working on this docker build which fails on this line:
RUN --mount=type=ssh pip install --no-cache-dir -r requirements.txt
Run Code Online (Sandbox Code Playgroud)
The terminal output shows all the requirements being installed but then I get the following failure:
failed to solve with frontend dockerfile.v0:
failed to solve with frontend gateway.v0:
rpc error: code = Unknown desc = failed to build LLB:
executor failed running [/bin/sh -c pip install --no-cache-dir -r requirements.txt]:
runc did not terminate sucessfully
Run Code Online (Sandbox Code Playgroud)
I am on Windows 10 + WSL (v1) + Ubuntu 18.04
A colleague runs the same project on Mac OS and does not have any issues...
知道出了什么问题吗?我该如何调试?
Leo*_*cia 19
经过一整天的努力,我通过为 Docker 提供更多 RAM(从 2Gb 到 6Gb)和 CPU(从 2 到 3)解决了这个问题……
| 归档时间: |
|
| 查看次数: |
15994 次 |
| 最近记录: |