|
I'm following every step in the quick start: https://colab.research.google.com/github/bentoml/BentoML/blob/master/guides/quick-start/bentoml-quick-start-guide.ipynb Also new to docker. I'm using Windows 10. Want to see how to run the built image through docker. But I tried to run command Do you know how can I run this docker command successfully? |
Replies: 1 comment 3 replies
|
@hanhanwu Thank you for point it out. We missed the In your case, the docker image is properly built. You can use If you see the image, you can run Right now, the |
@hanhanwu Thank you for point it out. We missed the
:lateston thebentoml containerizecommand. It should be:bentoml containerize IrisClassifier:latest -t iris-classifier:latestIn your case, the docker image is properly built. You can use
docker imagescommand to list all of the docker images on your system, and you should see it in there. The docker image tag will be your IrisClassifier version20200928232341_4535FA.If you see the image, you can run
docker run -p 5000:5000 iris-classifier:20200928232341_4535FA --workers=1 --enable-microbatchto test it out.Right now, the
bentoml containerizebehavior is if you provide a docker image tag without:, it will default to use the bento's …