You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i guess this is a silly question but i've been blocked by this.
I'm using podman as replace for docker, but it cannot write into the recipe_root, which is owned by "root:root" in the rootless container, while the running user is "conda(9001)"
+ make_build_number /home/conda/feedstock_root /home/conda/recipe_root /home/conda/feedstock_root/.ci_support/linux_64_c_compiler_version12cuda_compiler_version12.0cxx_compiler_version12python3.12.____cpython.yaml
+ [[ linux-64 != \l\i\n\u\x\-\6\4 ]]
+ [[ -f /home/conda/feedstock_root/LICENSE.txt ]]
+ cp /home/conda/feedstock_root/LICENSE.txt /home/conda/recipe_root/recipe-scripts-license.txt
cp: cannot create regular file ‘/home/conda/recipe_root/recipe-scripts-license.txt’: Permission denied
Traceback (most recent call last):
File "/home/lz/Downloads/pycolmap-feedstock/./build-locally.py", line 106, in <module>
main()
File "/home/lz/Downloads/pycolmap-feedstock/./build-locally.py", line 94, in main
run_docker_build(ns)
File "/home/lz/Downloads/pycolmap-feedstock/./build-locally.py", line 29, in run_docker_build
subprocess.check_call([script])
File "/home/lz/miniforge3/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['.scripts/run_docker_build.sh']' returned non-zero exit status 1.
I've tried to set userns=keep-id in my container.conf, but it reports:
bash: unalias: cp: not found
useradd: Permission denied.
useradd: cannot lock /etc/passwd; try again later.
chown: invalid user: ‘conda:conda’
cp: cannot create directory ‘/home/conda’: Permission denied
rm: cannot remove ‘/opt/conda/.condarc’: Permission denied
cp: cannot stat ‘/root/.condarc’: Permission denied
bash: cd: /home/conda: No such file or directory
su-exec: setgroups: Operation not permitted
The text was updated successfully, but these errors were encountered:
Comment:
i guess this is a silly question but i've been blocked by this.
I'm using podman as replace for docker, but it cannot write into the recipe_root, which is owned by "root:root" in the rootless container, while the running user is "conda(9001)"
I've tried to set userns=keep-id in my container.conf, but it reports:
The text was updated successfully, but these errors were encountered: