Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I try to ./sandbox up command #74

Open
hayleyshim opened this issue Jul 14, 2020 · 3 comments
Open

when I try to ./sandbox up command #74

hayleyshim opened this issue Jul 14, 2020 · 3 comments

Comments

@hayleyshim
Copy link

hayleyshim commented Jul 14, 2020

My environment is Ubuntu 16.04 on Cloud.
When I try to type './sandbox up' command, this error was shown,


Opening tabs in browser...
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
xdg-open: no method available for opening 'http://localhost:8888'

How can I fix it?

Please give me advice ~

@samhld
Copy link
Contributor

samhld commented Jul 14, 2020

@hayleyshim is this being run in a Linux VM that doesn't have a browser installed? In parallel, can you verify that at least the containers spun up with docker ps or docker-compose ps in the directory with the docker-compose file?

@aluchuk
Copy link

aluchuk commented Dec 1, 2020

Opening tabs in browser...
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :0
xdg-open: no method available for opening 'http://localhost:8888'
docker@homesever:/tmp/sandbox-master$ whoami
docker
docker@homesever:/tmp/sandbox-master$ groups
docker sudo
docker@homesever:/tmp/sandbox-master$ uname -a
Linux homesever.ho.me 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 GNU/Linux

can you leave opening the browser up to the user, please?

@aluchuk
Copy link

aluchuk commented Dec 1, 2020

docker ps

CONTAINER ID        IMAGE                          COMMAND                  CREATED             STATUS              PORTS                                                                    NAMES
f0dfd2e1baf5        chrono_config                  "/entrypoint.sh chro…"   14 minutes ago      Up 14 minutes       0.0.0.0:8888->8888/tcp                                                   sandbox-master_chronograf_1
eb9e2774097f        telegraf                       "/entrypoint.sh tele…"   15 minutes ago      Up 14 minutes       8092/udp, 8125/udp, 8094/tcp                                             sandbox-master_telegraf_1
4b10fbc794c9        kapacitor                      "/entrypoint.sh kapa…"   15 minutes ago      Up 14 minutes       0.0.0.0:9092->9092/tcp                                                   sandbox-master_kapacitor_1
4bc1df951620        influxdb                       "/entrypoint.sh infl…"   15 minutes ago      Up 15 minutes       0.0.0.0:8082->8082/tcp, 0.0.0.0:8086->8086/tcp, 0.0.0.0:8089->8089/udp   sandbox-master_influxdb_1
4f6af8e43131        sandbox-master_documentation   "/documentation/docu…"   15 minutes ago      Up 15 minutes       0.0.0.0:3010->3000/tcp                                                   sandbox-master_documentation_1

docker-compose ps

             Name                           Command               State                                   Ports                                 
------------------------------------------------------------------------------------------------------------------------------------------------
sandbox-master_chronograf_1      /entrypoint.sh chronograf        Up      0.0.0.0:8888->8888/tcp                                                
sandbox-master_documentation_1   /documentation/documentati ...   Up      0.0.0.0:3010->3000/tcp                                                
sandbox-master_influxdb_1        /entrypoint.sh influxd           Up      0.0.0.0:8082->8082/tcp, 0.0.0.0:8086->8086/tcp, 0.0.0.0:8089->8089/udp
sandbox-master_kapacitor_1       /entrypoint.sh kapacitord        Up      0.0.0.0:9092->9092/tcp                                                
sandbox-master_telegraf_1        /entrypoint.sh telegraf          Up      8092/udp, 8094/tcp, 8125/udp                                          

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants