JoergHH Posted November 26, 2022 Share Posted November 26, 2022 (edited) 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 November 26, 2022 by JoergHH Typo Quote Link to comment
Squid Posted November 26, 2022 Share Posted November 26, 2022 Those options go into Post Parameters (Advanced View) in the template Quote Link to comment
JoergHH Posted November 26, 2022 Author Share Posted November 26, 2022 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. Quote Link to comment
Solution JoergHH Posted November 27, 2022 Author Solution Share Posted November 27, 2022 I just solved it myself. The line in Post Parameters (Advanced View) should read: lame-cleaner --device=cpu --port=8080 --host=0.0.0.0 I read it wrong, dumbass. 🙄 Quote Link to comment
Recommended Posts
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.