Open michabuehlmann opened 4 months ago
I found a solution to my problem with the tensorflow docking image for macOS. I use the image "emacski/tensorflow-serving" with the platform "latest-linux_arm64". So i pull the image with the following command:
docker pull emacski/tensorflow-serving:latest-linux_arm64
And then you can use the image with the command:
docker run -it --rm -v "/Users/michaelbuehlmann/Documents/GitHub/handson-ml31/my_mnist_model:/models/my_mnist_model" -p 8500:8500 -p 8501:8501 -e MODEL_NAME=my_mnist_model emacski/tensorflow-serving:latest-linux_arm64
I try to use docker with tensorflow on my mac with m1 chip. But I can't run the tenserflow server.
Do I have to get docker images in the ARM format for my mac? And if yes how do I get these images?
I try the following code from chapter 19:
I use "Docker Desktop" for macOS. I ran the command
I get the images, but in the format "AMD64" as you can see in the following screenshot (from Docker Desktop):
When I run the code
I get the following error message:
I tried also the following:
Versions: