containers/ai-lab-recipes

Error building bootc container

Opened this issue · 1 comments

Following the instructions here: https://github.com/containers/ai-lab-recipes/tree/main/training

Building bootc container image, the following command failed with error:

Command: make nvidia FROM=registry.redhat.io/rhel9/rhel-bootc:9.4

Error:
[2/2] STEP 24/34: RUN grep -q /usr/lib/containers/storage /etc/containers/storage.conf || sed -i -e '/additionalimage./a "/usr/lib/containers/storage",' /etc/containers/storage.conf && cp /run/.input/ilab /usr/local/bin/
cp: cannot stat '/run/.input/ilab*': No such file or directory
Error: building at STEP "RUN grep -q /usr/lib/containers/storage /etc/containers/storage.conf || sed -i -e '/additionalimage./a "/usr/lib/containers/storage",' /etc/containers/storage.conf && cp /run/.input/ilab /usr/local/bin/": while running runtime: exit status 1
make[1]: *** [Makefile:30: bootc] Error 1
make[1]: Leaving directory '/root/ai-lab-recipes/training/nvidia-bootc'
make: *** [Makefile:75: nvidia] Error 2

Did you run make instruct-nvidia before that?
The error still happens?
Does it happen also if you omit the FROM=registry.redhat.io/rhel9/rhel-bootc:9.4 option?