BentoML icon indicating copy to clipboard operation
BentoML copied to clipboard

bug: --run-as-root should take effect with docker healthy

Open du00cs opened this issue 1 year ago • 2 comments

Describe the bug

docker check healthy also need root privilege, but _internal/container/docker.py just

[client, "version", "--format", "{{json .Server.Version}}"]

sudo is needed (but I don't know how to correct it).

To reproduce

Expected behavior

Environment

du00cs avatar Nov 05 '23 17:11 du00cs

Shouldn't you add your usergroup to docker?

aarnphm avatar Nov 13 '23 04:11 aarnphm

regardless I think it is also a bug here.

aarnphm avatar Nov 13 '23 04:11 aarnphm