创建用户命名空间失败

发布于 2025-01-14 04:06:40 字数 1751 浏览 5 评论 0原文

我在 docker 映像中安装了奇异性和 nextflow,我想使用以下命令启动奇异性 pcm 映像:

nextflow pcm.nf --allow-setuid --in example/example_proteome.faa --out result -w work/ -with-singularity pcm_202010.img

请我不明白这个错误。

感谢您的帮助

 N E X T F L O W  ~  version 21.10.6
    Launching `pcm.nf` [jolly_joliot] - revision: 3402118766
    executor >  local (1)
    [68/112863] process > convert_names (1)          [  0%] 0 of 1
    [-        ] process > index_query                -
    executor >  local (1)
    [68/112863] process > convert_names (1)          [100%] 1 of 1, failed: 1 ✘
    [-        ] process > index_query                -
    Project : /opt/progs/pcm
    Cmd line: nextflow pcm.nf --allow-setuid --in example/example_proteome.faa --out result -w work/ -with-singularity pcm_202010.img
    Oops .. something went wrong
    Error executing process > 'convert_names (1)'
    
    Caused by:
      Process `convert_names (1)` terminated with an error exit status (255)
    
    Command executed:
    
      convert_names.py -i example_proteome.faa -o conv_name.fasta -a association.tsv
    
    Command exit status:
      255
    
    Command output:
      (empty)
    
    Command error:
      INFO:    Converting SIF file to temporary sandbox...
      FATAL:   while extracting /opt/progs/pcm/./pcm_202010.img: root filesystem extraction failed: extract command failed: ERROR  : Failed to create user namespace: not allowed to create user namespace
      : exit status 1
    
    Work dir:
      /opt/progs/pcm/work/68/112863a3adddbb02900a892952162d
    
    Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

I installed singularity and nextflow in a docker image, I wanted to launch the singularity pcm image, with this command :

nextflow pcm.nf --allow-setuid --in example/example_proteome.faa --out result -w work/ -with-singularity pcm_202010.img

Please i don't understand this error.

Thanks for your help

 N E X T F L O W  ~  version 21.10.6
    Launching `pcm.nf` [jolly_joliot] - revision: 3402118766
    executor >  local (1)
    [68/112863] process > convert_names (1)          [  0%] 0 of 1
    [-        ] process > index_query                -
    executor >  local (1)
    [68/112863] process > convert_names (1)          [100%] 1 of 1, failed: 1 ✘
    [-        ] process > index_query                -
    Project : /opt/progs/pcm
    Cmd line: nextflow pcm.nf --allow-setuid --in example/example_proteome.faa --out result -w work/ -with-singularity pcm_202010.img
    Oops .. something went wrong
    Error executing process > 'convert_names (1)'
    
    Caused by:
      Process `convert_names (1)` terminated with an error exit status (255)
    
    Command executed:
    
      convert_names.py -i example_proteome.faa -o conv_name.fasta -a association.tsv
    
    Command exit status:
      255
    
    Command output:
      (empty)
    
    Command error:
      INFO:    Converting SIF file to temporary sandbox...
      FATAL:   while extracting /opt/progs/pcm/./pcm_202010.img: root filesystem extraction failed: extract command failed: ERROR  : Failed to create user namespace: not allowed to create user namespace
      : exit status 1
    
    Work dir:
      /opt/progs/pcm/work/68/112863a3adddbb02900a892952162d
    
    Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

唯憾梦倾城 2025-01-21 04:06:40

为了能够从 Docker 容器内部运行 Singularity,您必须在启动时使用 --privileged 标志。

参考: https://docs.docker.com /engine/reference/run/#runtime-privilege-and-linux-功能

To be able to run Singularity from inside a Docker container, you must use the --privileged flag when starting it.

ref: https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文