superset icon indicating copy to clipboard operation
superset copied to clipboard

Can't access localhost after docker installation

Open gry77 opened this issue 6 years ago • 6 comments

I tried to follow the instruction for docker installation, :

git clone https://github.com/apache/incubator-superset/
cd incubator-superset
# you can run this command everytime you need to start superset now:
docker-compose up

After running "docker-compose up", below is the system output :

Building superset
Step 1/32 : ARG PY_VER=3.6.9
Step 2/32 : FROM python:${PY_VER} AS superset-py
 ---> 5bf410ee7bb2
Step 3/32 : RUN mkdir /app         && apt-get update -y         && apt-get install -y --no-install-recommends             build-essential             default-libmysqlclient-dev             libpq-dev         && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> fcb0ba38bae0
Step 4/32 : COPY ./requirements.txt /app/
 ---> Using cache
 ---> 77d5d6884177
Step 5/32 : RUN cd /app         && pip install --no-cache -r requirements.txt
 ---> Using cache
 ---> 96ab95e79ff7

Step 6/32 : FROM node:10-jessie AS superset-node
 ---> 48b88f03a78a
Step 7/32 : RUN mkdir -p /app/superset/assets
 ---> Using cache
 ---> e183894b93ec
Step 8/32 : COPY ./superset/assets/package* /app/superset/assets/
 ---> Using cache
 ---> 5e495305c396
Step 9/32 : RUN cd /app/superset/assets         && npm ci
 ---> Using cache
 ---> 98e3c82d76e7
Step 10/32 : COPY ./superset/assets /app/superset/assets
 ---> Using cache
 ---> b35883f88183
Step 11/32 : RUN cd /app/superset/assets         && npm run build         && rm -rf node_modules
 ---> Running in 8de8bd63e44e

> [email protected] build /app/superset/assets
> cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --mode=production --colors --progress

clean-webpack-plugin: /app/superset/assets/dist has been removed.
Starting type checking service...
Using 1 worker with 2048MB memory limit
 92% chunk asset optimization OptimizeCssAssetsWebpackPluginBrowserslist: caniuse-lite is outdated. Please run next command `npm update`
 92% chunk asset optimization TerserPlugin

When I tried to open http://localhost:8088, it said connection refused.

My docker run on : MacOS Mojave Version 10.14.6

gry77 avatar Dec 17 '19 03:12 gry77

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

issue-label-bot[bot] avatar Dec 17 '19 03:12 issue-label-bot[bot]

I hope you have waited for all 32 steps to complete after that you can see 5 containers running docker ps | grep superset or check logs of containers once they are up. I too have faced the same issue for 11/32 steps in docker-compose up

swapnil-chenoa avatar Dec 18 '19 05:12 swapnil-chenoa

@swapnil-chenoa , how long does it take until all 32 steps completed ? because I have waited like 30 mins, but nothing happened.

gry77 avatar Dec 18 '19 07:12 gry77

It depends on the "machine" your running on. Check the logs to figure out what is going on

dpgaspar avatar Dec 18 '19 13:12 dpgaspar

Well, i'm running with macbook pro core i9 16gb ram.. so i think that is more than enough. Speaking of logs, where can i check the logs?

gry77 avatar Dec 18 '19 13:12 gry77

well, apparently i need to increase my docker resource in order to complete those 32 steps. Once 32 steps completed, I can put back my docker resource to default settings and run it.. Thanks for the reply anyway... I'm closing this..

gry77 avatar Dec 18 '19 17:12 gry77