Could not start Lama Cleaner Docker (https://github.com/Sanster/lama-cleaner)


JoergHH
Go to solution Solved by JoergHH,

Recommended Posts

I am trying to install Lama Cleaner (https://github.com/Sanster/lama-cleaner#docker) in the Docker CPU version, but I am not succeeding. Docker just doesn't want to start.
Unfortunately I'm not the Docker expert either, but I suspect it's because of the options

--device=cpu --port=8080 --host=0.0.0.0

is the reason. Can someone please help me and tell me what to put where in the template?
Before the installation I had created the cache directories under .../appdata/lama-cleaner/.

Edited by JoergHH
Typo
Link to comment
  • JoergHH changed the title to Could not start Lama Cleaner Docker (https://github.com/Sanster/lama-cleaner)
57 minutes ago, Squid said:

Those options go into Post Parameters (Advanced View) in the template

Nope, unfortunately it doesn't work:

Command:root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='lama-cleaner' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -p '8081:8080/tcp' -v '/mnt/user/appdata/lama-cleaner/torch_cache':'/root/.cache/torch':'rw' -v '/mnt/user/appdata/lama-cleaner/huggingface_cache':'/root/.cache/huggingface':'rw' 'cwq1913/lama-cleaner:cpu-0.26.1' --device=cpu --port=8080 --host=0.0.0.0

1b3a2a10a0ccbdc36f299a09e534bc0f66a90db7d0bd0b7ad96b0169893332f3
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: exec: "--device=cpu": executable file not found in $PATH: unknown.

The command failed.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.