command-line-bootcamp / cli-boot.camp

:computer: command-line bootcamp adventure in your browser
https://cli-boot.camp/
Other
102 stars 51 forks source link

Terminal currently throwing webpack connect error #14

Closed chopfitzroy closed 8 years ago

chopfitzroy commented 8 years ago

Receiving this error:

onpaste 20160910-230207

blahah commented 8 years ago

thanks for the heads up! now fixed :)

chopfitzroy commented 8 years ago

Hey @blahah is there anything special you are doing with your environment after following your instructions when I run:

docker-browser-server command_line_bootcamp

And then visit localhost:8080 I receive the following output in my terminal:

Server is listening on port 8080
Spawning new container (wdhvzkwsqsbrzfr)
Killing container (wdhvzkwsqsbrzfr)

Any ideas?

chopfitzroy commented 8 years ago

Side not the repo is hard set to 46.101.11.144:8080 as well so anyone building locally is connecting to your server.

Cheers.

blahah commented 8 years ago

The interface exposed on port 8080 is only the docker-browser-server HTTP API. You need to point the frontend at it to get a meaningful interface - replace the 46.101.11.144 with localhost, then serve up the index.html locally (e.g. with python -m SimpleHTTPServer in the git repo directory) and it should connect.

chopfitzroy commented 8 years ago

Hey,

Yep sorry I get that :) more having an issue with the container being killed as soon as it is started.

Would you mind running docker -v and let me know what version you are running, I have a sneaking suspicion docker-browser-server is not even managing to start the container.

Cheers, Otis.

blahah commented 8 years ago
# docker -v
Docker version 1.9.1, build a34a1d5
chopfitzroy commented 8 years ago

Cheers.