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

Container tries to pull some content from outside #13

Closed
pejotes opened this issue Nov 27, 2020 · 3 comments
Closed

Container tries to pull some content from outside #13

pejotes opened this issue Nov 27, 2020 · 3 comments

Comments

@pejotes
Copy link

pejotes commented Nov 27, 2020

hello, love the idea of this container to have everything inside.
Tried to run it, but got this.

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
 *
WARNING: using emscripten GL emulation. This is a collection of limited workarounds, do not expect it to work.
WARNING: using emscripten GL emulation unsafe opts. If weirdness happens, try -s GL_UNSAFE_OPTS=0
ioq3 1.36_GIT_4f7d7bf-2014-02-01 emscripten- Feb 23 2014
----- FS_Startup -----
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: connect EHOSTUNREACH 104.28.27.218:80
    at Object._errnoException (util.js:1022:11)
    at _exceptionWithHostPort (util.js:1044:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14)

So it still tries to connect somewhere for assets.

@readysloth
Copy link

Create a dockerfile like this:

FROM treyyoder/quakejs

RUN sed -i '1a\\echo "${SERER} content.quakejs.com" > /etc/hosts' /entrypoint.sh

Then run docker build and now error should be gone.

@readysloth
Copy link

@treyyoder

@treyyoder
Copy link
Owner

Updated the image in dockerhub, but if you're building yourself:

docker build --add-host=content.quakejs.com:127.0.0.1 -t treyyoder/quakejs:latest .

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