withoutbg-python icon indicating copy to clipboard operation
withoutbg-python copied to clipboard

Great Project need Docker

Open mariushosting opened this issue 1 year ago • 6 comments

Awesome project! Can we have an official docker image in GitHub?

mariushosting avatar Sep 13 '25 00:09 mariushosting

Thanks a lot for opening the very first feature request 🎉 An official Docker image is definitely high on the priority list.

kocabiyik avatar Sep 13 '25 09:09 kocabiyik

Hey @mariushosting

Great news. We now have an official Docker image available! You can get the web app running with a single command:

docker run -p 80:80 withoutbg/app:latest

Then open http://localhost in your browser. The image includes everything pre-configured: React UI with drag-and-drop, FastAPI backend, and the Focus v1.0.0 AI model for local background removal. The dockerized application uses the superior withoutBG Focus model, which delivers significantly better edge detail and hair/fur handling compared to the previous Snap model. Learn more in the complete setup guide.

Thanks for being the first to request this! 🚀

kocabiyik avatar Nov 14 '25 22:11 kocabiyik

Hey @mariushosting

Great news. We now have an official Docker image available! You can get the web app running with a single command:

docker run -p 80:80 withoutbg/app:latest Then open http://localhost in your browser. The image includes everything pre-configured: React UI with drag-and-drop, FastAPI backend, and the Focus v1.0.0 AI model for local background removal. The dockerized application uses the superior withoutBG Focus model, which delivers significantly better edge detail and hair/fur handling compared to the previous Snap model. Learn more in the complete setup guide.

Thanks for being the first to request this! 🚀

Unfortunately the published image does not work at all with the following error message in the logs:

exec /app/apps/web/backend/.venv/bin/python: exec format error

mariushosting avatar Nov 14 '25 22:11 mariushosting

You've discovered an architecture compatibility issue. The published image was built for a single platform (ARM64/Apple Silicon), which is why it fails on Intel/AMD systems with that exec format error.

I re-built and pushed with multi-platform support.

Can you try: docker run -p 80:80 withoutbg/app:1.0.1?

kocabiyik avatar Nov 14 '25 23:11 kocabiyik

Just confirming here it works on my Synology NAS with Intel CPU and Docker engine 24.x. Great job and a really nice tool!

jghaanstra avatar Nov 15 '25 10:11 jghaanstra

it works now

You've discovered an architecture compatibility issue. The published image was built for a single platform (ARM64/Apple Silicon), which is why it fails on Intel/AMD systems with that exec format error.

I re-built and pushed with multi-platform support.

Can you try: docker run -p 80:80 withoutbg/app:1.0.1?

mariushosting avatar Nov 15 '25 12:11 mariushosting