From 3ef0bee4f09b6512a3a9cc48343deba63ab7fe36 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Thu, 2 Nov 2023 15:39:44 +0000 Subject: [PATCH] fix: better update steps for dockerized sandbox (#3204) Improves error message shown to user when running the `update` command in the CLI if dockerized Sandbox is out of date. --- yarn-project/cli/src/update/update.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/yarn-project/cli/src/update/update.ts b/yarn-project/cli/src/update/update.ts index 3a5940a44da..bd819605d0d 100644 --- a/yarn-project/cli/src/update/update.ts +++ b/yarn-project/cli/src/update/update.ts @@ -34,9 +34,10 @@ export async function update( if (currentSandboxVersion && lt(currentSandboxVersion, targetSandboxVersion)) { log(` -Sandbox is older than version ${targetSandboxVersion}. If running in docker update it with the following command then restart the container: -docker pull aztecprotocol/aztec-sandbox:latest -Once the container is restarted, run the \`aztec-cli update\` command again`); +Sandbox is older than version ${targetSandboxVersion}. If running via docker-compose, follow update instructions: +https://docs.aztec.network/dev_docs/cli/updating + +Once the sandbox is updated, run the \`aztec-cli update\` command again`); return; } }