-
Notifications
You must be signed in to change notification settings - Fork 756
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 openvino notebooks on Ubuntu #2012
Comments
adding complete output from docker build command: bjean09@n4-emr-1:~/openvino_notebooks$ sudo docker build -t openvino_notebooks .
|
Hi @brijean I managed to build the OpenVINO Notebook in Ubuntu 22.04 using Docker. ![]() I'm using Docker version 26.1.2 Try upgrading your Docker version to the latest version using the command: Note: I had set the Docker to be run as non-root user but the build command still requires sudo |
Closing issue, feel free to re-open or start a new issue if additional assistance is needed. |
Describe the bug
Following Docker install instructions (https://github.com/openvinotoolkit/openvino_notebooks/wiki/Docker) on Ubuntu 22.04.4 with Docker version 26.1.1, build 4cf5afa.
"docker build" command fails with the following error:
bjean09@n4-emr-1:~/openvino_notebooks$ sudo docker build -t openvino_notebooks .
[+] Building 243.0s (8/25) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 3.03kB 0.0s
=> [internal] load metadata for quay.io/thoth-station/s2i-thoth-ubi8-py38:v0.29.0 0.2s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [ 1/21] FROM quay.io/thoth-station/s2i-thoth-ubi8-py38:v0.29.0@sha256:457c5346b912e2fe383d61bc8409ec3fca130034c7875646671192587e9839c0 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 36.65kB 0.0s
=> CACHED [ 2/21] RUN dnf --disableplugin=subscription-manager remove -y nodejs && dnf --disableplugin=subscription-manager module -y r 0.0s
=> CACHED [ 3/21] RUN dnf --disableplugin=subscription-manager install -y 'dnf-command(config-manager)' && dnf --disableplugin=subscr 0.0s
=> ERROR [ 4/21] RUN rpm -ivh https://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/mesa-filesystem-21.1.5-1.el8.x86_64.rpm && 242.8s
Dockerfile:36
35 |
36 | >>> RUN rpm -ivh https://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/mesa-filesystem-21.1.5-1.el8.x86_64.rpm &&
37 | >>> dnf --disableplugin=subscription-manager install --refresh -y
38 | >>> intel-opencl intel-media intel-mediasdk libmfxgen1 libvpl2
39 | >>> level-zero intel-level-zero-gpu
40 | >>> intel-metrics-library intel-igc-core intel-igc-cm
41 | >>> libva libva-utils intel-gmmlib &&
42 | >>> rpm -ivh http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ocl-icd-2.2.12-1.el8.x86_64.rpm &&
43 | >>> rpm -ivh https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/c/clinfo-3.0.21.02.21-4.el8.x86_64.rpm
44 |
ERROR: failed to solve: process "/bin/sh -c rpm -ivh https://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/mesa-filesystem-21.1.5-1.el8.x86_64.rpm && dnf --disableplugin=subscription-manager install --refresh -y intel-opencl intel-media intel-mediasdk libmfxgen1 libvpl2 level-zero intel-level-zero-gpu intel-metrics-library intel-igc-core intel-igc-cm libva libva-utils intel-gmmlib && rpm -ivh http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/Packages/ocl-icd-2.2.12-1.el8.x86_64.rpm && rpm -ivh https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/c/clinfo-3.0.21.02.21-4.el8.x86_64.rpm" did not complete successfully: exit code: 1
Expected behavior
container built successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Installation instructions (Please mark the checkbox)
[ ] I followed the installation guide at https://github.com/openvinotoolkit/openvino_notebooks#-installation-guide to install the notebooks.
** Environment information **
Please run
python check_install.py
in the openvino_notebooks directory. If the output is NOT OK for any of the checks, please follow the instructions to fix that. If that does not work, or if you still encounter the issue, please paste the output of check_install.py here.bjean09@n4-emr-1:~/openvino_notebooks$ python3 check_install.py
System information:
Python executable: /usr/bin/python3
Pip version: 22.0.2
OpenVINO environment activated: NOT OK
Jupyter kernel installed for openvino_env: NOT OK
Python version: 3.10 OK
OpenVINO pip package installed: NOT OK
OpenVINO import succeeds: NOT OK
OpenVINO development tools installed: NOT OK
OpenVINO not installed globally: OK
No broken requirements: NOT OK
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: