question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting up superset using docker

See original GitHub issue

This post is for everyone who wants to set up superset using docker since they are some problems which are differently listed as issues here but may be hard to find.

First add gevent to python requirements. Second add user: root:root to your superset service in docker-compose.

And then you can follow the instructions on doc. However if you want to load the examples you should instead of running: SUPERSET_LOAD_EXAMPLES=yes docker-compose run --rm superset ./docker-init.sh run this: docker-compose run --rm -e SUPERSET_LOAD_EXAMPLES=yes superset ./docker-init.sh

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
forbiddenvoidcommented, Jun 10, 2019

There are a couple of other docker issues that need to be addressed related to the Flask AppBuilder CLI update. But, there’s not much to do to create a PR that makes the docker instructions actually functional:

  • adding gevent 1.4.0 to the requirements.txt file
  • adding a root:root user to the superset service in docker-compose.yml
  • correcting the bash instructions for initializing the examples
  • adding the FLASK_APP env variable to docker-init.sh and removing the --app argument from the flask fab command.
  • looks like the instructions in CONTRIBUTING.md also have the --app argument as well.

More than happy to put up a PR to fix those issues.

2reactions
ali-bahjaticommented, Jun 3, 2019

In docker-compose.yml in superset service with the same indention as volumes: add user: root:root

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding New Drivers in Docker - Apache Superset
Superset requires a Python database driver to be installed for each additional type of database you want to connect to. When setting up...
Read more >
Running Apache Superset as a Docker Container
Multiple ways to start the container, i.e., either by using the command docker-compose or by using the docker run command. · Superset all...
Read more >
Installation & Configuration - apache-superset - Read the Docs
Once you have Docker for Mac installed, open up the preferences pane for Docker, go to the “Resources” section and increase the allocated...
Read more >
apache/superset - Docker Image
Initialize a local Superset Instance · Setup your local admin account $ docker exec -it superset superset fab create-admin \ --username admin \...
Read more >
Superset on docker - Bytefold
Superset image form dockerhub does not provide any easily accessible way to configure Admin user for the app. It relies on superset fab ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found