This is an automated email from the ASF dual-hosted git repository.
hainenber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 386074fa604 docs(docker): warn about data loss with down -v command
(#45732)
386074fa604 is described below
commit 386074fa6042601c4dccda3efae1d1ec0d67da63
Author: Shubham kumar <[email protected]>
AuthorDate: Mon Oct 26 22:51:39 2026 +0530
docs(docker): warn about data loss with down -v command (#45732)
---
docker/README.md | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/docker/README.md b/docker/README.md
index 1ef46aa13ae..b5ae492f75f 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -62,10 +62,14 @@ Steps:
1. Create `./docker/requirements-local.txt`
2. Add your new packages
-3. Rebuild docker compose
- 1. `docker compose down -v`
+3. Restart the Docker Compose stack so the local packages are installed:
+ 1. `docker compose down`
2. `docker compose up`
+The `docker compose down` command preserves the existing named volumes used by
+the metadata database and other local data. To start from a clean state, run
+`docker compose down -v`.
+
## Initializing Database
The database will initialize itself upon startup via the init container
([`superset-init`](./docker-init.sh)). This may take a minute.