Comments (15)
In that it's a singularity build with a sandbox, it's probably no longer necessary (but perhaps needed to be). Have you tried removing it and building a container?
from docker2singularity.
Hi @vsoch , following your suggestion, I removed scripts/env/10-docker2singularity.sh, built a modified docker2singularity image, and used it to export Debian, CentOS, and Alpine Singularity images. In all cases their /.singularityenv.d/env/10-docker.sh set PATH to what it would have been set to when executing a corresponding Docker container via docker run -it --entrypoint=/bin/sh <IMAGE>
. So 10-docker2singularity.sh does seem unnecessary at this point?
from docker2singularity.
It does indeed!
from docker2singularity.
Since the branches each correspond to a different Singularity version (unfortunately many are different) to move forward, you'd want to choose the branch to edit, and PR to it. The master branch (should be) the latest version of the branches. It's a bit messy, but I'm not sure there is a better way to go about it.
from docker2singularity.
OK, will do. Should the PR go to the 3.2.1 branch?
from docker2singularity.
Yes! And after that, I'll PR 3.2.1 to master so it's up to date. Thank you!
from docker2singularity.
Is the v3.2.1 branch supposed to work as-is? I get the following error:
$ git checkout v3.2.1
$ docker build -t docker2singularity-local:v3.2.1-orig .
...
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/singularity:/output --privileged -t --rm docker2singularity-local:v3.2.1-orig alpine:3.10.1
docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused "exec: \"docker-entrypoint.sh\": executable file not found in $PATH": unknown.
from docker2singularity.
Sounds like the entrypoint file wasn't added?
from docker2singularity.
I'll be able to test this in a few minutes, sorry doing a million things right now.
from docker2singularity.
Can you try with singularityware/docker2singularity:v3.1
from docker2singularity.
That one works:
$ git checkout v3.1
$ docker build -t docker2singularity-local:v3.1 .
...
$ docker run -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/singularity:/output --privileged -t --rm docker2singularity-local:v3.1 alpine:3.10.1
...
INFO: Build complete: /tmp/alpine_3.10.1-2019-07-11-5def832712fb.simg
(10/10) Moving the image to the output folder...
2,752,512 100% 50.86MB/s 0:00:00 (xfr#1, to-chk=0/1)
Final Size: 3MB
from docker2singularity.
Ah interesting, I think it's likely that I started working on that branch, but then didn't actually finish. The last released version is v3.1.
from docker2singularity.
Let's do this - start with v3.1, and then pull request to v3.2.1.
from docker2singularity.
Will do.
from docker2singularity.
Fixed in #63 , building now to release and then update master.
from docker2singularity.
Related Issues (20)
- hit a panic: runtime error HOT 22
- Cannot (easily) build huge images. HOT 7
- tar: invalid tar magic HOT 3
- Is it possible to run this in a github action HOT 2
- Template parsing error HOT 4
- Create 3.2.1 release HOT 1
- Unable to exec a created singularity image as a non-root user HOT 5
- Strange Error when trying to convert - addLabel.py: No such file or directory HOT 3
- Update Docker Deploy section
- Error When with -w or -f Options at line 110 $1: unbound variable HOT 14
- Windows: Problem with creating singularity image HOT 9
- Not Outputting Final Image HOT 5
- Tar: Permission denied error during build. HOT 3
- Building ppc images on x86 hardware HOT 2
- how to build encrypted singularity images HOT 1
- Error response from daemon: OCI runtime create failed: container_linux.go:370 HOT 1
- Error when I try to run a container - ABORT : Retval = 255 HOT 3
- Using docker2singularity to build images from Singularity definition files HOT 2
- Maintaining a Singularity image off a docker container HOT 3
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 docker2singularity.