Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

Solved by JoergHH

  • JoergHH changed the title to Could not start Lama Cleaner Docker (https://github.com/Sanster/lama-cleaner)

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

  • Author
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.

 

  • Author
  • Solution

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. 🙄

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.