Skip to content

image digests cannot be specified for docker image builds #3985

@EvanTheB

Description

@EvanTheB

Version of Singularity:

singularity --version
singularity version 3.2.0-rc2

Expected behavior

Specify a digest to build a specific docker image into singularity image.

https://sylabs.io/guides/3.2/user-guide/appendix.html#docker-bootstrap-agent

Actual behavior

Error message and failure.

Steps to reproduce behavior

evaben@evaben ~/c/crammer (master)> docker images debian 
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
debian              stretch             2d337f242f07        3 months ago        101MB
debian              jessie              7cd9fb1ee74f        3 months ago        129MB
debian              latest              be2868bebaba        9 months ago        101MB

evaben@evaben ~/c/crammer (master)> singularity build tmp docker-daemon://debian:latest@2d337f242f07
INFO:    Starting build...
FATAL:   While performing build: conveyor failed to get: Invalid image source: invalid reference format

evaben@evaben ~/c/crammer (master) [255]> singularity build tmp docker-daemon://debian:@2d337f242f07
INFO:    Starting build...
FATAL:   While performing build: conveyor failed to get: Invalid image source: invalid reference format

evaben@evaben ~/c/crammer (master) [255]> singularity build tmp docker-daemon://debian@2d337f242f07
INFO:    Starting build...
FATAL:   While performing build: conveyor failed to get: Invalid image source: invalid reference format

Metadata

Metadata

Labels

NeedsInvestigationIssues which need investigation before a decision can be made

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions