We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running bentoml containerize with a custom docker base_image, the command throws an error
bentoml containerize
=> => transferring context: 47.64MB 0.3s => ERROR [base-container 2/8] RUN groupadd -g 1034 -o bentoml && useradd -m -u 1034 -g 1034 -o -r bentoml 0.4s ------ > [base-container 2/8] RUN groupadd -g 1034 -o bentoml && useradd -m -u 1034 -g 1034 -o -r bentoml: 0.283 groupadd: Permission denied. 0.284 groupadd: cannot lock /etc/group; try again later. ------ Dockerfile:22 -------------------- 20 | ARG BENTO_USER_UID=1034 21 | ARG BENTO_USER_GID=1034 22 | >>> RUN groupadd -g $BENTO_USER_GID -o $BENTO_USER && useradd -m -u $BENTO_USER_UID -g $BENTO_USER_GID -o -r $BENTO_USER 23 | ARG BENTO_PATH=/home/bentoml/bento 24 | ENV BENTO_PATH=$BENTO_PATH -------------------- ERROR: failed to solve: process "/bin/sh -c groupadd -g $BENTO_USER_GID -o $BENTO_USER && useradd -m -u $BENTO_USER_UID -g $BENTO_USER_GID -o -r $BENTO_USER" did not complete successfully: exit code: 10
No response
bentoml env
BENTOML_DEBUG='' BENTOML_QUIET='' BENTOML_BUNDLE_LOCAL_BUILD='' BENTOML_DO_NOT_TRACK='' BENTOML_CONFIG='' BENTOML_CONFIG_OPTIONS='' BENTOML_PORT='' BENTOML_HOST='' BENTOML_API_WORKERS=''
bentoml: 1.1.11 python: 3.9.13 platform: macOS-14.3-arm64-arm-64bit uid_gid: 503:20
bentoml
python
platform
uid_gid
pip_packages
accelerate==0.27.2 aiohttp==3.9.3 aiosignal==1.3.1 annotated-types==0.6.0 anyio==4.2.0 appdirs==1.4.4 asgiref==3.7.2 async-timeout==4.0.3 attrs==23.2.0 bentoml==1.1.11 bitsandbytes==0.41.3.post2 build==0.10.0 cattrs==23.1.2 certifi==2024.2.2 charset-normalizer==3.3.2 circus==0.18.0 click==8.1.7 click-option-group==0.5.6 cloudpickle==3.0.0 coloredlogs==15.0.1 contextlib2==21.6.0 datasets==2.17.0 deepmerge==1.1.1 Deprecated==1.2.14 dill==0.3.8 distlib==0.3.8 distro==1.9.0 einops==0.7.0 exceptiongroup==1.2.0 fastcore==1.5.29 filelock==3.13.1 filetype==1.2.0 frozenlist==1.4.1 fs==2.4.16 fsspec==2023.10.0 ghapi==1.0.4 h11==0.14.0 httpcore==1.0.3 httpx==0.26.0 huggingface-hub==0.20.3 humanfriendly==10.0 idna==3.6 importlib-metadata==6.11.0 inflection==0.5.1 Jinja2==3.1.3 markdown-it-py==3.0.0 MarkupSafe==2.1.5 mdurl==0.1.2 mpmath==1.3.0 multidict==6.0.5 multiprocess==0.70.16 mypy-extensions==1.0.0 networkx==3.2.1 numpy==1.26.4 nvidia-ml-py==11.525.150 openllm==0.4.44 openllm-client==0.4.44 openllm-core==0.4.44 opentelemetry-api==1.20.0 opentelemetry-instrumentation==0.41b0 opentelemetry-instrumentation-aiohttp-client==0.41b0 opentelemetry-instrumentation-asgi==0.41b0 opentelemetry-sdk==1.20.0 opentelemetry-semantic-conventions==0.41b0 opentelemetry-util-http==0.41b0 optimum==1.17.0 orjson==3.9.14 packaging==23.2 pandas==2.2.0 pathspec==0.12.1 pillow==10.2.0 pip-requirements-parser==32.0.1 pip-tools==7.3.0 platformdirs==4.2.0 prometheus_client==0.20.0 protobuf==4.25.3 psutil==5.9.8 pyarrow==15.0.0 pyarrow-hotfix==0.6 pydantic==1.10.14 pydantic_core==2.16.2 Pygments==2.17.2 pyparsing==3.1.1 pyproject_hooks==1.0.0 python-dateutil==2.8.2 python-json-logger==2.0.7 python-multipart==0.0.9 pytz==2024.1 PyYAML==6.0.1 pyzmq==25.1.2 regex==2023.12.25 requests==2.31.0 rich==13.7.0 safetensors==0.4.2 schema==0.7.5 scipy==1.12.0 sentencepiece==0.1.99 simple-di==0.1.5 six==1.16.0 sniffio==1.3.0 starlette==0.37.1 sympy==1.12 tokenizers==0.15.2 tomli==2.0.1 torch==2.2.0 tornado==6.4 tqdm==4.66.2 transformers==4.37.2 typing_extensions==4.9.0 tzdata==2024.1 urllib3==2.2.0 uvicorn==0.27.1 virtualenv==20.25.0 watchfiles==0.21.0 wrapt==1.16.0 xxhash==3.4.1 yarl==1.9.4 zipp==3.17.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When running
bentoml containerize
with a custom docker base_image, the command throws an errorTo reproduce
No response
Expected behavior
No response
Environment
bentoml env
Environment variable
System information
bentoml
: 1.1.11python
: 3.9.13platform
: macOS-14.3-arm64-arm-64bituid_gid
: 503:20pip_packages
The text was updated successfully, but these errors were encountered: