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

Can't run with docker #657

Open
WeiZhang418 opened this issue Dec 3, 2020 · 3 comments
Open

Can't run with docker #657

WeiZhang418 opened this issue Dec 3, 2020 · 3 comments

Comments

@WeiZhang418
Copy link

WeiZhang418 commented Dec 3, 2020

When I pull the image down and run it, my browser only shows a logo pic in http://127.0.0.1:8080. Does the docker file contain some bugs?

@edisinovcic
Copy link
Collaborator

Hi @WeiZhang418 can you provide more information on which specific image tag did you pull and the command that you run after it so we can reproduce.

Tnx

@WeiZhang418
Copy link
Author

WeiZhang418 commented Dec 4, 2020

Both the latest and remix_live version can't run correctly. After I "docker run" either of them followed the instructions of readme.md, I can only see the logo pic in http://127.0.0.1:8080.

More detail:

First my input in the Terminal: $sudo docker run -p 8080:80 remixproject/remix-ide:latest
Terminal's response:
"/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Configuration complete; ready for start up"

Then my action in a browser: http://127.0.0.1:8080.
The browse response: only show the remix ide's logo pic.
Terminal's response like this:
"172.17.0.1 - - [04/Dec/2020:01:00:38 +0000] "GET / HTTP/1.1" 200 3694 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
172.17.0.1 - - [04/Dec/2020:01:00:38 +0000] "GET /assets/css/pygment_trac.css HTTP/1.1" 200 4168 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
172.17.0.1 - - [04/Dec/2020:01:00:38 +0000] "GET /runtime.js HTTP/1.1" 200 6299 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
172.17.0.1 - - [04/Dec/2020:01:00:38 +0000] "GET /assets/js/browserfs.min.js HTTP/1.1" 200 247362 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
172.17.0.1 - - [04/Dec/2020:01:00:38 +0000] "GET /polyfills.js HTTP/1.1" 200 752800 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
172.17.0.1 - - [04/Dec/2020:01:00:38 +0000] "GET /vendor.js HTTP/1.1" 200 36699566 "http://127.0.0.1:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
172.17.0.1 - - [04/Dec/2020:01:00:39 +0000] "GET /assets/img/icon.png HTTP/1.1" 200 9364 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0" "-"
...
...
172.17.0.1 - - [05/Dec/2020:11:25:31 +0000] "GET /assets/img/solidity.webp HTTP/1.1" 200 9248 "http://localhost:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" "-"
172.17.0.1 - - [05/Dec/2020:11:25:31 +0000] "GET /assets/img/deployAndRun.webp HTTP/1.1" 200 32324 "http://localhost:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" "-"
172.17.0.1 - - [05/Dec/2020:11:25:31 +0000] "GET /assets/audio/remiGuitar-single-power-chord-A-minor.wav HTTP/1.1" 206 4834958 "http://localhost:8080/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" "-"
"
output freezed here. Dose that mean the docker can't load the audio?
thank you @edisinovcic

@DeFiYaco
Copy link
Contributor

DeFiYaco commented Dec 7, 2020

Hi @WeiZhang418,
I have just tested both live and master releases and it works perfectly on my machine. Have you tried visiting http://localhost:8080 instead of http://127.0.0.1:8080?

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