From fc42ff384c071261d064e99e2b95295dc6ab6338 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Sun, 14 Jul 2024 14:58:54 -0700 Subject: [PATCH] samples: Update guestbook/localdb/main.go to add docker platform flag (#3450) --- samples/guestbook/localdb/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/guestbook/localdb/main.go b/samples/guestbook/localdb/main.go index ce89d1d10a..e1459a23c4 100644 --- a/samples/guestbook/localdb/main.go +++ b/samples/guestbook/localdb/main.go @@ -53,6 +53,7 @@ func runLocalDB(containerName, guestbookDir string) error { dockerArgs = append(dockerArgs, "--name", containerName) } dockerArgs = append(dockerArgs, + "--platform", "linux/amd64", "--env", "MYSQL_DATABASE=guestbook", "--env", "MYSQL_ROOT_PASSWORD=password", "--detach",