Skip to content

Custom docker image - conda dependency #923

Answered by parano
Sharathmk99 asked this question in General
Discussion options

You must be logged in to vote

The real hard requirement for a docker base image for BentoML, is that it has to meet at least one of the two requirements below:

  1. bash, conda - will automatically download the right python version and install pip in this case
  2. bash, pip, python - user will need to ensure the python install on docker base image matches the python version used to save the BentoService. And no conda dependencies are specified in the BentoService.

For the sake of consistency and reproducibility, it is always recommended to use docker base image with conda installed. The only case to use a docker base image without conda is that - 1) you can make sure the python version is consistent across your team from dev…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by yubozhao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants