Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building bootc container #568

Open
littlefish-littlefish opened this issue Jun 16, 2024 · 1 comment
Open

Error building bootc container #568

littlefish-littlefish opened this issue Jun 16, 2024 · 1 comment

Comments

@littlefish-littlefish
Copy link

littlefish-littlefish commented Jun 16, 2024

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

@ivanbaldo
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants