9 changed files with 58 additions and 31 deletions
@ -0,0 +1,9 @@
|
||||
FROM ipfs/go-ipfs:v0.13.0-rc1 as dist |
||||
LABEL maintainer aynic.os <support+docker@asycn.io> |
||||
ARG DOCKER_BUILD_DIR |
||||
|
||||
COPY ${DOCKER_BUILD_DIR}/*.sh /container-init.d/ |
||||
RUN chmod +rx /container-init.d/*.sh |
||||
|
||||
FROM dist as master |
||||
ARG DOCKER_BUILD_DIR |
@ -0,0 +1,11 @@
|
||||
#!/bin/sh |
||||
|
||||
## fix following error on arm64/linux with 2Gb RAM |
||||
# ERROR p2pnode libp2p/rcmgr_defaults.go:107 ===> OOF! go-libp2p changed DefaultServiceLimits |
||||
# => changes ('test' represents the old value): |
||||
# {"op":"test","path":"/SystemLimits/Memory","value":1073741824} |
||||
# {"op":"replace","path":"/SystemLimits/Memory","value":256560128} |
||||
# => go-libp2p SetDefaultServiceLimits update needs a review: |
||||
# Please inspect if changes impact go-ipfs users, and update expectedDefaultServiceLimits in rcmgr_defaults.go to remove this message |
||||
# FATAL p2pnode libp2p/rcmgr_defaults.go:115 daemon will refuse to run with the resource manager until this is resolved |
||||
ipfs config --json Swarm.ResourceMgr.Enabled false |
Loading…
Reference in new issue