-
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? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
@hanhanwu Thank you for point it out. We missed the
:latest
on thebentoml containerize
command. It should be:bentoml containerize IrisClassifier:latest -t iris-classifier:latest
In your case, the docker image is properly built. You can use
docker images
command 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-microbatch
to test it out.Right now, the
bentoml containerize
behavior is if you provide a docker image tag without:
, it will default to use the bento's …