创建用户命名空间失败
我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了能够从 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