{"id":8685,"date":"2025-03-21T16:40:02","date_gmt":"2025-03-21T11:10:02","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=8685"},"modified":"2025-03-21T16:45:46","modified_gmt":"2025-03-21T11:15:46","slug":"how-to-install-apache-superset-on-ubuntu-via-docker-compose","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-install-apache-superset-on-ubuntu-via-docker-compose\/","title":{"rendered":"How to Install Apache Superset on Ubuntu via Docker Compose"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Introduction<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Apache Superset is a powerful data visualisation and exploration platform that helps you turn raw data into meaningful insights \u2014 fast and with zero coding skills required. Whether you&#8217;re a data analyst, engineer, or business user, Superset makes it easy to connect to your data, build interactive dashboards, and make smarter decisions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>SSH access with sudo privileges to the Ubuntu 20.04 or later server<\/li>\n\n\n\n<li>Docker<\/li>\n\n\n\n<li>Docker Compose<\/li>\n\n\n\n<li>Git (to clone the Superset repo)<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Implementation<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 1: Install Docker and Docker Compose (if not already installed)<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ sudo apt update<br>$ sudo apt install docker.io docker-compose git -y<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 2: Start and enable Docker<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ sudo systemctl start docker<br>$ sudo systemctl enable docker<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 3: Add your user to the Docker group (optional but recommended)<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ sudo usermod -aG docker $USER<br>$ newgrp docker<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 4: Clone Superset&#8217;s GitHub repository<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ git clone &#8211;depth=1 https:\/\/github.com\/apache\/superset.git<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once that command completes successfully, you should see a new\u00a0superset\u00a0folder in your current directory<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Step 5: Initialise the Superset Environment<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ docker compose up &#8211;build -d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Step 6: Access Superset Web UI<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once the application is Initialised, we can access this URL from the browser  http:\/\/&lt;server-IP&gt;:8088 <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note: Log in with the default username and password<br>Username: admin<br>Password: admin<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM-1024x381.png\" alt=\"\" class=\"wp-image-8698\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM-1024x381.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM-300x112.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM-768x286.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM-806x300.png 806w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.48\u202fPM.png 1430w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM-1024x549.png\" alt=\"\" class=\"wp-image-8699\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM-1024x549.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM-300x161.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM-768x412.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM-560x300.png 560w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2025\/03\/Screenshot-2025-03-21-at-4.11.59\u202fPM.png 1422w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Step 7: Manage the Containers<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can start\/stop\/restart the container with the below commands <\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ docker compose down<br>$ docker compose up -d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion<\/strong><br>With Superset, we can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Connect to data sources effortlessly<\/li>\n\n\n\n<li>Build stunning dashboards and charts<\/li>\n\n\n\n<li>Empower your team with self-service analytics<\/li>\n\n\n\n<li>Scale confidently with a modern, cloud-native architecture<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Whether we are building internal reporting tools or providing data insights for clients, Superset is a flexible and cost-effective solution that can grow with your needs<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Apache Superset is a powerful data visualisation and exploration platform that helps you turn raw data into meaningful insights [&hellip;]<\/p>\n","protected":false},"author":495,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1020],"tags":[990],"class_list":["post-8685","post","type-post","status-publish","format-standard","hentry","category-containers-kubernetes","tag-superset","psol-cat-containers-kubernetes"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-2g5","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/495"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=8685"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/8685\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=8685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=8685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=8685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}