Closed bharatpareek closed 7 years ago
devel.sh
is only meant to be used while developing on glot-run and the Dockerfile is mainly there for automatic builds via Travis to see that everything compiles.
Personally I don't run glot-run itself inside docker. I use the make_release_docker.sh script (see comments inside the script) which uses docker to create an erlang release for linux, which can be started with bin/glot foreground
after setting all the required environment variables.
Oh.. I get it now :) Thanks a lot.
I was building a new image every time after making changes, I will try running 'glot-run' standalone on my machine without docker, will ask you if i stuck somewhere.
EDIT: But then what is the use of passing env var 'DOCKER_API_URL' if we are not running glot-run on docker? Is it used for running the glot language containers via API calls?
Output of make_release_docker.sh
Unable to find image 'prasmussen/erlang-build:latest' locally
docker: Error response from daemon: repository prasmussen/erlang-build not found: does not exist or no pull access.
The docker image is not accessible.
EDIT: i will try building without docker.
Hi, i am having some issues while setting up docker container using this repo. I'd really like to use this project. (I am new to both docker and erlang)
I cloned the repo and modified the devel.sh file with my own environment variables but I can't get the glot-run project working.
I build the docker image after modifying the evel.sh file, with the command docker build --tag=glotrun .
However, when I try to run it with the command docker run -it -p 8090:8090 glotrun, it fails with the following stack trace:
Looking through the errors , it seems to be because my container's environment variables aren't properly set, but i did set all the values in devel.sh file and then built the container image.
I tried to pass the environment variables in command line and that container works but in that case what is the use of devel.sh file?
Please help.