Closed tconnz closed 1 year ago
@tconnz I'm not sure if you tried this, but put your argument flags before the image name otherwise they get passed along as part of the executable's runtime arguments.
docker run --env http_proxy="http://192.168.1.55" \
--env http_prozy="http://192.168.1.55:3128" \
-p 9090:80 \
-v ~/Downloads/openbooks:/books \
evanbuss/openbooks --persist --name "test"
I noticed while reformatting you had evanbuss/openbooks
specified twice, once after the run command and again after the volume definition, which was likely the main issue with running this.
That did the trick, thx for that! Basic error on my part. Love the project, very cool!
Hi,
Is there a way to add proxy support for OpenBooks from within the container like on thick clients such as HexIRC etc?
I cannot pass the --env http_proxy= parameter during docker run as it gets interpreted by the openbooks server.
e.g.
docker run evanbuss/openbooks --env http_proxy="http://192.168.1.55--env http_prozy="http://192.168.1.55:3128":3128" -p 9090:80 -v ~/Downloads/openbooks:/books evanbuss/openbooks --persist --name "test"
returns