我设法从 DockerHub 构建了一个容器,使用 Sudo 对其进行外壳,成功安装了一些软件,甚至使用 Sudo 运行它。但是,当我尝试以非特权用户的身份对其进行 shell 时,它给了我一个错误。有人可以帮我吗?谢谢你。
错误如下:
> singularity shell miniconda4
Increasing verbosity level (2)
Singularity version: 2.4.2-dist
Exec'ing: /usr/lib/x86_64-linux-gnu/singularity/cli/shell.exec
Evaluating args: 'miniconda4'
VERBOSE: Set messagelevel to: 2
VERBOSE: Initialize configuration file: /etc/singularity/singularity.conf
VERBOSE: Initializing Singularity Registry
VERBOSE: Invoking the user namespace
VERBOSE: Not virtualizing USER namespace: running as SUID
VERBOSE: No autofs bug path in configuration, skipping
VERBOSE: Using session directory: /var/lib/singularity/mnt/session
VERBOSE: Mounting overlay with options: lowerdir=/var/lib/singularity/mnt/container,upperdir=/var/lib/singularity/mnt/overlay/upper,workdir=/var/lib/singularity/mnt/overlay/work
VERBOSE: Running all mount components
VERBOSE: Binding '/etc/localtime' to '/var/lib/singularity/mnt/final//etc/localtime'
VERBOSE: Binding '/etc/hosts' to '/var/lib/singularity/mnt/final//etc/hosts'
VERBOSE: Bind-mounting host /proc
VERBOSE: Mounting /sys
VERBOSE: Bind mounting /dev
VERBOSE: Mounting home directory source into session directory: /home/AD/praposo -> /var/lib/singularity/mnt/session/home/AD/praposo
VERBOSE: Failed to create parent directory /var/lib/singularity/mnt/final/home/AD/praposo
ERROR : Failed creating home directory in container /var/lib/singularity/mnt/final/home/AD/praposo: Operation not supported
ABORT : Retval = 255