diff --git a/docs/docs/installation/docker-compose.mdx b/docs/docs/installation/docker-compose.mdx index 499ad413647..42d0de47b9f 100644 --- a/docs/docs/installation/docker-compose.mdx +++ b/docs/docs/installation/docker-compose.mdx @@ -112,7 +112,15 @@ docker compose -f docker-compose-non-dev.yml up ### Option #3 - boot up an official release ```bash +# Set the version you want to run export TAG=3.1.1 +# Fetch the tag you're about to check out (assuming you shallow-cloned the repo) +git fetch --depth=1 origin tag $TAG +# Could also fetch all tags too if you've got bandwidth to spare +# git fetch --tags +# Checkout the corresponding git ref +git checkout $TAG +# Fire up docker compose docker compose -f docker-compose-image-tag.yml up ```