quakejs-docker icon indicating copy to clipboard operation
quakejs-docker copied to clipboard

Container tries to pull some content from outside

Open pejotes opened this issue 4 years ago • 2 comments

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.

pejotes avatar Nov 27 '20 11:11 pejotes

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 avatar Aug 20 '21 11:08 readysloth

@treyyoder

readysloth avatar Aug 20 '21 11:08 readysloth

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 .

treyyoder avatar Aug 30 '22 00:08 treyyoder