bentoml / BentoML

The easiest way to serve AI apps and models - Build reliable Inference APIs, LLM apps, Multi-model chains, RAG service, and much more!
https://bentoml.com
Apache License 2.0
6.96k stars 775 forks source link

Bentoml cli containerize not building image #4486

Open MuhammadHadiofficial opened 7 months ago

MuhammadHadiofficial commented 7 months ago

I run bentoml containerize

To reproduce

Encountered exception while trying to building image: Command '['/snap/bin/docker', 'build', '--tag', 'sdxl_turbo:mtidviwd2czczk6s', '--file', '/tmp/tmp4wwktt1nfsTempFS/env/docker/Dockerfile', '/tmp/tmp4wwktt1nfsTempFS/']' returned non-zero exit status 1. Traceback (most recent call last): File "/home/sociail/BentoSDXLTurbo/venv/lib/python3.10/site-packages/bentoml/_internal/container/init.py", line 234, in build return builder.build(**kwargs) File "/home/sociail/BentoSDXLTurbo/venv/lib/python3.10/site-packages/bentoml/_internal/container/base.py", line 190, in build raise BentoMLException(str(e)) from None bentoml.exceptions.BentoMLException: Command '['/snap/bin/docker', 'build', '--tag', 'sdxl_turbo:mtidviwd2czczk6s', '--file', '/tmp/tmp4wwktt1nfsTempFS/env/docker/Dockerfile', '/tmp/tmp4wwktt1nfsTempFS/']' returned non-zero exit status 1. `

Expected behavior

No response

Environment

Python-3.10.3

dhj-git commented 4 months ago

hello,I encountered the same problem, how did you solve it?

MuhammadHadiofficial commented 4 months ago

@dhj-git I could not and ended giving up!

nengelmann commented 2 months ago

Seems to be a duplicate of https://github.com/bentoml/BentoML/issues/4117, which is still an open issue.