Skip to content

Configure docker to build an image of bentoservice located in a remote minio server #943

Answered by parano
athulprathap asked this question in General
Discussion options

You must be logged in to vote

Hi @athulprathap

Assuming you have configured a remote YataiService, you can use the bentoml retrieve command to download the BentoService saved bundle directory to any local file directory. E.g:

$ bentoml retrieve IrisClassifier/20200720081955_358AFA --target_dir=/tmp/irirs-classifier-saved-bundle

$ cd /tmp/irirs-classifier-saved-bundle

$ docker build . 

In the next BentoML release, a new CLI command $ bentoml containerize will be available and you can use that to build docker image located in a remote YataiServcie directly(it downloads the saved bundle files locally under the hood)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@athulprathap
Comment options

Answer selected by athulprathap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants