From 11cad70c3a3afa72f3bd0285b489f03a817fa9e9 Mon Sep 17 00:00:00 2001 From: smita-naik Date: Thu, 27 Mar 2025 18:02:42 +0800 Subject: [PATCH] Update ai-core-code.md --- tutorials/ai-core-code/ai-core-code.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tutorials/ai-core-code/ai-core-code.md b/tutorials/ai-core-code/ai-core-code.md index a089e192df..3ee4df40d2 100644 --- a/tutorials/ai-core-code/ai-core-code.md +++ b/tutorials/ai-core-code/ai-core-code.md @@ -152,10 +152,13 @@ Copy and edit the following command to build your docker image. The command foll ```BASH docker build -t docker.io//house-price:01 . ``` +**If you have machine with Apple Silicon M1/M2/M3 Chip, use --platform linux/amd64** -> **INFORMATION** In the command, `-t` indicates that there is a tag name, followed by a colon and version. The name is your descriptive string, and the version can be in any format, here `house-price` and `01`, respectively. The `.` (dot) at the end instructs Docker to look for the filename `Dockerfile` in the present directory. +```BASH +docker build --platform linux/amd64 -t docker.io//house-price:01 . +``` -> **INFORMATION** The platform information relates to your operating system, for example `linux/amd64`. +> **INFORMATION** In the command, `-t` indicates that there is a tag name, followed by a colon and version. The name is your descriptive string, and the version can be in any format, here `house-price` and `01`, respectively. The `.` (dot) at the end instructs Docker to look for the filename `Dockerfile` in the present directory. The result of this command should be: