Skip to content

singularity in docker <23.0.0: Requesting capability set 0x000001ffffffffff while permitted capability set is 0x0000003fffffffff #1466

Open
@jpfeuffer

Description

@jpfeuffer

Version of Singularity
What version of Singularity are you using?
3.11.0 on GitHub Actions using the following Dockerfile: https://github.com/singularityhub/singularity-docker/blob/v3.11.0/Dockerfile

Describe the bug
see title.

To Reproduce
Steps to reproduce the behavior:
clone https://github.com/OpenMS/dockerfiles/blob/master/library/Dockerfile
then

  spython recipe dockerfiles/library/Dockerfile &> dockerfiles/library/Singularity.def
  sed -i "s/(^From:.*:)(.*)/\1latest/" dockerfiles/library/Singularity.def
  sed -i "s%(^OPENMS_BRANCH=)(.*)%\1nightly%" dockerfiles/library/Singularity.def
  sed -i "s/(^OPENMS_TAG=)(.*)/\1latest/" dockerfiles/library/Singularity.def
  cat dockerfiles/library/Singularity.def
  sudo singularity build library.sif dockerfiles/library/Singularity.def

see https://github.com/OpenMS/OpenMS/actions/runs/4495601964/jobs/7909390460

Expected behavior
Build the container, as with 3.10

OS / Linux Distribution
Host (GitHub runner):

  • Image: ubuntu-22.04
  • Version: 20230317.1

Docker:

  • FROM golang:1.20.0-alpine
  • options: --privileged

Installation Method
wget https://github.com/sylabs/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-ce-${SINGULARITY_VERSION}.tar.gz

Additional context
Anything else which might be relevant. E.g. if the bug only occurs on a specific filesystem, or kernel version etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maybeFeatures / changes that maybe implemented in future, depending on need & resources

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions