Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while running "docker compose pull" in Apache Superset

Following the steps provided in this guide while installing Apache Superset on Windows, I've had errors while setting up a docker container using Docker Compose (after cloning the project in apache/superset).

docker compose pull and docker compose up -d gives me:

time="2024-04-20T21:18:08-03:00" level=warning msg="The \"CYPRESS_CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-04-20T21:18:08-03:00" level=warning msg="The \"SCARF_ANALYTICS\" variable is not set. Defaulting to a blank string."
time="2024-04-20T21:18:08-03:00" level=warning msg="The \"CYPRESS_CONFIG\" variable is not set. Defaulting to a blank string."
validating C:\superset\superset\docker-compose.yml: services.superset.env_file.0 must be a string

I don't know how to fix this error, since it says it can't find the environment variables and it can't read properly the env file. I have searched in the whole internet, github discussions and stackoverflow but had zero success.

like image 572
Jose Luiz Durigon Avatar asked May 16 '26 06:05

Jose Luiz Durigon


1 Answers

Update your docker version to latest(on windows update docker desktop), because you are using compose plugin. Compose also will be updated to ~ v2.26.X. This is a latest feature of docker compose 2.24.

Added to superset here: https://github.com/apache/superset/pull/28039

like image 144
neeraj9194 Avatar answered May 19 '26 02:05

neeraj9194



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!