This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push: new 065a321dcf Add windows powershell quick start guide (#12028) 065a321dcf is described below commit 065a321dcff344ad19fef21330b5349cece6d522 Author: Superskyyy <supersk...@outlook.com> AuthorDate: Tue Mar 19 20:19:51 2024 -0400 Add windows powershell quick start guide (#12028) --- docs/en/setup/backend/backend-docker.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/en/setup/backend/backend-docker.md b/docs/en/setup/backend/backend-docker.md index b0dc88c925..1bfc2a4e35 100644 --- a/docs/en/setup/backend/backend-docker.md +++ b/docs/en/setup/backend/backend-docker.md @@ -1,34 +1,42 @@ # How to use the Docker images -## Start the storage, OAP and UI with docker-compose +## Start the storage, OAP and Booster UI with docker-compose -As a quick start, you can use our one-line script to start ElasticSearch or -BanyanDB as the storage, OAP server and UI, please make sure you have installed -Docker. +As a quick start, you can use our one-liner script to start ElasticSearch or [BanyanDB](https://skywalking.apache.org/docs/skywalking-banyandb/next/readme/) as the storage, OAP server and Booster UI, please make sure you have installed Docker. +**Linux, macOS, Windows (WSL)** ```shell bash <(curl -sSL https://skywalking.apache.org/quickstart-docker.sh) ``` -You will be prompted to choose the storage type, and then the script will start -the backend cluster with the selected storage. +**Windows (Powershell)** +```powershell +Invoke-Expression ([System.Text.Encoding]::UTF8.GetString((Invoke-WebRequest -Uri https://skywalking.apache.org/quickstart-docker.ps1 -UseBasicParsing).Content)) +``` + +You will be prompted to choose the storage type, and then the script will start the backend cluster with the selected storage. To tear down the cluster, run the following command: ```shell docker compose --project-name=skywalking-quickstart down ``` - ## Start a `standalone` container with `H2` storage ```shell -docker run --name oap --restart always -d apache/skywalking-oap-server:9.0.0 +docker run --name oap --restart always -d apache/skywalking-oap-server:9.7.0 +``` + +## Start a `standalone` container with BanyanDB as storage, whose address is `banyandb:17912` + +```shell +docker run --name oap --restart always -d -e SW_STORAGE=banyandb -e SW_STORAGE_BANYANDB_TARGETS=banyandb:17912 apache/skywalking-oap-server:9.7.0 ``` -## Start a `standalone` container with ElasticSearch 7 as storage whose address is `elasticsearch:9200` +## Start a `standalone` container with ElasticSearch 7 as storage, whose address is `elasticsearch:9200` ```shell -docker run --name oap --restart always -d -e SW_STORAGE=elasticsearch -e SW_STORAGE_ES_CLUSTER_NODES=elasticsearch:9200 apache/skywalking-oap-server:9.0.0 +docker run --name oap --restart always -d -e SW_STORAGE=elasticsearch -e SW_STORAGE_ES_CLUSTER_NODES=elasticsearch:9200 apache/skywalking-oap-server:9.7.0 ``` # Configuration