kubernetes-mlops icon indicating copy to clipboard operation
kubernetes-mlops copied to clipboard

Local host can't open after loading a docker image to container

Open jasperchen2022 opened this issue 1 year ago • 0 comments

Hello all, I was following the repo at https://github.com/AlexIoannides/kubernetes-mlops to learn MLops with docker and kubernetes. After l loaded the image by typing in windows powershell: docker run --rm --name test-api -p 5000:5000 -d alexioannides/test-ml-score-api The image was loaded as a container.

image

However, when I try to click the link and open the local host at http://localhost:5000/ It shows: Not Found The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. Can anyone help? Thanks a lot.

jasperchen2022 avatar May 04 '24 16:05 jasperchen2022