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

Cannot load container on Ubuntu 24.04 #703

Open
2 tasks done
Otts86 opened this issue Jun 14, 2024 · 4 comments
Open
2 tasks done

Cannot load container on Ubuntu 24.04 #703

Otts86 opened this issue Jun 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Otts86
Copy link

Otts86 commented Jun 14, 2024

Has this issue been opened before?

  • It is not in the FAQ, I checked.
  • It is not in the issues, I searched.

Describe the bug

Which UI

auto

Hardware / Software

  • OS: Ubuntu 24.04
  • OS version: Linux 6.8.0-35-generic
  • Docker Version: 24.0.5
  • Docker compose version: v2.20.3
  • Repo version: from master
  • RAM: 64GB
  • GPU/VRAM: 8GB

Steps to Reproduce

  1. docker compose --profile auto up --build
  2. Build goes well but at the end cannot launch container
  3. Error:
    => [auto] exporting to image 0.0s
    => => exporting layers 0.0s
    => => writing image sha256:dbc04f4494248ab5963e254c56f76a91e15d1033aa05b1ede1e91f3157413188 0.0s
    => => naming to docker.io/library/sd-auto:78 0.0s
    Attaching to webui-docker-auto-1
    Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
    nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown

Additional context
Nvidia-SMI: 535.171.04
Driver Version: 535.171.04
CUDA Version: 12.2

@Otts86 Otts86 added the bug Something isn't working label Jun 14, 2024
@Otts86
Copy link
Author

Otts86 commented Jun 14, 2024

Additional information, the failed library libnvidia-ml.so.1 exists in /usr/lib/x86_64-linux-gnu/ and I added that director to my $PATH but still receive same error.

@iorlas
Copy link

iorlas commented Jun 22, 2024

Same issue there

@iorlas
Copy link

iorlas commented Jun 22, 2024

Found solution - for some reason my Ubuntu instance still ran Snap version of the Docker instead of docker-ce. You need to remove snap docker, and install docker-ce if you didn't:

sudo snap remove docker --purge

@bean5
Copy link

bean5 commented Jul 17, 2024

@AbdBarho I think this can be closed especially if you place a note in the Readme advising non-snap docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants