-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Download Singularity image without having singularity
installed locally
#443
Comments
Ta da! » wave -i oras://docker.io/pditommaso/wave-test:bamtools-2.5.2--5027ffe85d788a97 --inspect -o yaml container:
config:
architecture: null
config:
attachStderr: null
attachStdin: null
attachStdout: null
cmd: &id001 []
domainName: null
entrypoint: *id001
env: *id001
hostName: null
image: null
tty: null
user: null
workingDir: null
container: null
created: null
rootfs:
diff_ids: *id001
type: null
digest: sha256:c1540f55fa91f1070ca442ebc56c156e1f60b18faf09b0f3c3df4518be206f7d
hostName: https://registry-1.docker.io
imageName: pditommaso/wave-test
manifest:
annotations: null
config:
annotations: null
digest: sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
mediaType: application/vnd.unknown.config.v1+json
size: 2
layers:
- annotations:
org.opencontainers.image.title: image.sif
digest: sha256:3b1bcd5a2806a49b1150f408853513ee33bda417804c9e26ac348d566ab1d8b8
mediaType: application/vnd.sylabs.sif.layer.v1.sif
size: 44986368
uri: https://registry-1.docker.io/v2/pditommaso/wave-test/blobs/sha256:3b1bcd5a2806a49b1150f408853513ee33bda417804c9e26ac348d566ab1d8b8
mediaType: null
schemaVersion: 2
reference: bamtools-2.5.2--5027ffe85d788a97
registry: docker.io |
Look at layer URI field 😄 |
Awesome! I tried it on your test, but it failed with a slightly odd response - I assume that this is just a permissions erorr of some kind? $ wave -i oras://docker.io/pditommaso/wave-test:bamtools-2.5.2--5027ffe85d788a97 --inspect -o yaml
Wave invalid response: [500] {"message":"Unexpected media type for request 'pditommaso/wave-test:bamtools-2.5.2--5027ffe85d788a97' - offending value: null - Error ID: 22c684dff6ee"} |
it's not yet released 😄 |
As pointed out in meeting, could be serviced as |
Think here the goal is to provide a specialised endpoint to download the tar without having to parse the inspect output |
thanks for highlighting Paolo |
ok noted, will implement a new endpoint for url |
@pditommaso which branch does have this inpect uri? |
Master wave/src/main/groovy/io/seqera/wave/controller/InspectController.groovy Lines 87 to 100 in 08f4400
We need to clarify how this endpoint is expected to work before starting the implementation |
It would be great to be able to download Singularity / Apptainer images as flat files, without needing to have the tools installed locally.
According to @pditommaso:
🤞🏻
The text was updated successfully, but these errors were encountered: