diff --git a/docs/self-managed/quickstart/developer-quickstart/c8run.md b/docs/self-managed/quickstart/developer-quickstart/c8run.md index 2b23fcc0c7f..359617e7781 100644 --- a/docs/self-managed/quickstart/developer-quickstart/c8run.md +++ b/docs/self-managed/quickstart/developer-quickstart/c8run.md @@ -201,9 +201,33 @@ camunda: ## Shut down Camunda 8 Run -To shut down Camunda 8 Run and end all running processes, run `./shutdown.sh` (or `.\c8run.exe stop` on Windows) from the `c8run` directory. +To shut down (non-Docker) Camunda 8 Run and end all running processes, run the following command from the `c8run` directory: -To shut down the Camunda 8 Run Docker distribution, use `./shutdown.sh --docker` (or `.\c8run.exe stop --docker` on Windows). +```bash +./shutdown.sh + +# Windows: +# .\c8run.exe stop +``` + +If you started Camunda 8 Run with Docker `./start.sh --docker`, run the following command instead: + +```bash +# Stop containers but keep existing data +docker compose -f docker-compose-8.8/docker-compose.yaml down +# (older bundles use: docker/docker-compose.yml) + +# Stop containers and remove all data volumes +docker compose -f docker-compose-8.8/docker-compose.yaml down -v +``` + +The `-v` option removes all Docker volumes, including persisted data such as users and process instances. Omit `-v` if you want to keep your existing data for the next startup. + +To confirm that Camunda 8 Run has stopped, check for active containers: + +```bash +docker ps +``` ## Advanced options diff --git a/versioned_docs/version-8.7/self-managed/setup/deploy/local/c8run.md b/versioned_docs/version-8.7/self-managed/setup/deploy/local/c8run.md index 67befdd2787..286609a794e 100644 --- a/versioned_docs/version-8.7/self-managed/setup/deploy/local/c8run.md +++ b/versioned_docs/version-8.7/self-managed/setup/deploy/local/c8run.md @@ -201,9 +201,33 @@ zeebeClient ## Shut down Camunda 8 Run -To shut down Camunda 8 Run and end all running processes, run `./shutdown.sh` (or `.\c8run.exe stop` on Windows) from the `c8run` directory. +To shut down (non-Docker) Camunda 8 Run and end all running processes, run the following command from the `c8run` directory: -The Camunda 8 Run Docker distribution can be shut down using `./shutdown.sh --docker` (or `.\c8run.exe stop -docker` on Windows). +```bash +./shutdown.sh + +# Windows: +# .\c8run.exe stop +``` + +If you started Camunda 8 Run with Docker `./start.sh --docker`, run the following command instead: + +```bash +# Stop containers but keep existing data +docker compose -f docker-compose-8.7/docker-compose.yaml down +# (older bundles use: docker/docker-compose.yml) + +# Stop containers and remove all data volumes +docker compose -f docker-compose-8.7/docker-compose.yaml down -v +``` + +The `-v` option removes all Docker volumes, including persisted data such as users and process instances. Omit `-v` if you want to keep your existing data for the next startup. + +To confirm that Camunda 8 Run has stopped, check for active containers: + +```bash +docker ps +``` ## Advanced options diff --git a/versioned_docs/version-8.8/self-managed/quickstart/developer-quickstart/c8run.md b/versioned_docs/version-8.8/self-managed/quickstart/developer-quickstart/c8run.md index 2b23fcc0c7f..359617e7781 100644 --- a/versioned_docs/version-8.8/self-managed/quickstart/developer-quickstart/c8run.md +++ b/versioned_docs/version-8.8/self-managed/quickstart/developer-quickstart/c8run.md @@ -201,9 +201,33 @@ camunda: ## Shut down Camunda 8 Run -To shut down Camunda 8 Run and end all running processes, run `./shutdown.sh` (or `.\c8run.exe stop` on Windows) from the `c8run` directory. +To shut down (non-Docker) Camunda 8 Run and end all running processes, run the following command from the `c8run` directory: -To shut down the Camunda 8 Run Docker distribution, use `./shutdown.sh --docker` (or `.\c8run.exe stop --docker` on Windows). +```bash +./shutdown.sh + +# Windows: +# .\c8run.exe stop +``` + +If you started Camunda 8 Run with Docker `./start.sh --docker`, run the following command instead: + +```bash +# Stop containers but keep existing data +docker compose -f docker-compose-8.8/docker-compose.yaml down +# (older bundles use: docker/docker-compose.yml) + +# Stop containers and remove all data volumes +docker compose -f docker-compose-8.8/docker-compose.yaml down -v +``` + +The `-v` option removes all Docker volumes, including persisted data such as users and process instances. Omit `-v` if you want to keep your existing data for the next startup. + +To confirm that Camunda 8 Run has stopped, check for active containers: + +```bash +docker ps +``` ## Advanced options