Comments (2)
Possibly a crun
(version specific) related incompatibility with buildkit? Will try using runc
instead, to verify.
"/usr/local/bin/singularity build --oci /tmp/dockerfile-build-USER-410657212/rootbuilt-docker-user.oci.sif ../test/defs/Docker
file.customuser" output:
INFO: Did not find usable system buildkitd daemon. Starting built-in singularity-buildkitd.
INFO: singularity-buildkitd: running server on /run/singularity-buildkitd/singularity-buildkitd-157013.sock
time="2024-01-03T12:56:12Z" level=warning msg="no trace recorder found, skipping"
INFO: Terminating singularity-buildkitd (PID 157028)
FATAL: while building from dockerfile: failed to solve: process "/bin/sh -c addgroup -g 2000 -S testgroup && adduser -u 2000
-S testuser -G testgroup" did not complete successfully: /usr/bin/crun did not terminate successfully: exit status 1: cannot open dir
ectory `/run/crun/902q5y5hkaw7b3nbl464k3fse`: No such file or directory
#1 [internal] load build definition from Dockerfile.customuser
#1 transferring dockerfile:
#1 transferring dockerfile: 230B done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/alpine:latest
#2 DONE 0.3s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [1/2] FROM docker.io/library/alpine:latest@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
#4 resolve docker.io/library/alpine:latest@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 done
#4 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.1s done
#4 DONE 0.1s
#4 [1/2] FROM docker.io/library/alpine:latest@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
#4 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0.1s done
#4 DONE 0.1s
#5 [2/2] RUN addgroup -g 2000 -S testgroup && adduser -u 2000 -S testuser -G testgroup
#5 ERROR: process "/bin/sh -c addgroup -g 2000 -S testgroup && adduser -u 2000 -S testuser -G testgroup" did not complete succ
essfully: /usr/bin/crun did not terminate successfully: exit status 1: cannot open directory `/run/crun/902q5y5hkaw7b3nbl464k3fse`: No
such file or directory
from singularity.
The failures on RHEL8 AMD64 are all covered by the bug #2484
from singularity.
Related Issues (20)
- add extfs overlay to OCI-SIF via `singularity overlay`
- default r/o mount of extfs overlay in --oci mode
- optional --writable mount of extfs overlay in --oci mode
- `singularity overlay seal` conversion of overlay to r/o layer in OCI-SIF
- overlay seal and conversion in `singularity push` of OCI-SIF as tar layers
- OCI-SIF data container creation command HOT 1
- Support OCI-SIF data-container in --bind & --mount
- Support squashfs->tar in push of an OCI-SIF data container
- Remove CentOS 7 from CI matrix:
- Remove EL7, SLES 11 examples
- Remove Yum CentOS7 bootstrap tests
- Remove CentOS 7 regression test for issue 5250 HOT 1
- Remove CentOS 7 install specifics:
- Remove kernel version as proxy requirement for OCSP test
- Remove EL7 test case / handling of old ld listing HOT 1
- oci: fixed descriptor capacity for OCI-SIF prevents pulling some images
- singularity build --fakeroot fails with free(): invalid pointer while spawning RPC server HOT 3
- Pip install uses too much disk space - error with /tmp as tmpfs HOT 2
- Unknown image format/type in nextflow pipeline HOT 5
- Drop remaining direct containers/common usage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from singularity.