From b2bfb92cc4280d5bdc8dd98943db9746f777bbae Mon Sep 17 00:00:00 2001 From: Anca Sarb Date: Fri, 28 Jan 2022 10:52:16 +0000 Subject: [PATCH] docs(docker compose installation) : add pull command to avoid errors when installing superset using docker compose. fixes #17712 (#18196) Co-authored-by: asarb --- .../docs/Connecting to Databases/docker-add-drivers.mdx | 1 + docs/src/pages/docs/installation/index.mdx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx b/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx index e54d9a94a0be..50fa83bea894 100644 --- a/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx +++ b/docs/src/pages/docs/Connecting to Databases/docker-add-drivers.mdx @@ -62,6 +62,7 @@ docker-compose up The other option is to start Superset via Docker Compose is using the recipe in `docker-compose-non-dev.yml`, which will use pre-built frontend assets and skip the building of front-end assets: ``` +docker-compose -f docker-compose-non-dev.yml pull docker-compose -f docker-compose-non-dev.yml up ``` diff --git a/docs/src/pages/docs/installation/index.mdx b/docs/src/pages/docs/installation/index.mdx index 508fa27d14fe..83ae7ca80805 100644 --- a/docs/src/pages/docs/installation/index.mdx +++ b/docs/src/pages/docs/installation/index.mdx @@ -60,7 +60,11 @@ Navigate to the folder you created in step 1: $ cd superset ``` -Then, run the following command: +Then, run the following commands: + +```bash +$ docker-compose -f docker-compose-non-dev.yml pull +``` ```bash $ docker-compose -f docker-compose-non-dev.yml up