From b237594495fdf0e0cd5d3a41996cb438934c3d8c Mon Sep 17 00:00:00 2001 From: Acbox Date: Sat, 7 Feb 2026 20:02:11 +0800 Subject: [PATCH] fix: container compile --- scripts/mcp-image-up.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/mcp-image-up.sh b/scripts/mcp-image-up.sh index 934a4e6a..d5636a8f 100755 --- a/scripts/mcp-image-up.sh +++ b/scripts/mcp-image-up.sh @@ -5,6 +5,8 @@ IMAGE="memoh-mcp:dev" if [ "$(uname -s)" = "Darwin" ]; then limactl shell default -- nerdctl build -f cmd/mcp/Dockerfile -t "$IMAGE" . + # Import into rootful containerd so the Go agent can find the image + limactl shell default -- sh -c "nerdctl save $IMAGE | sudo nerdctl load" exit $? fi