Hey Tyler,

You are also talking to a relative novice, this is the first Dockerfile i've constructed, although I've used others before.

Anyway, 0.0.0.0 doesn't really exist in nextwork world apart from broadcast type ip's I don't think, although feel free to tell me I'm wrong.

I copied a file that another docker guy wrote for a different project of mine and his instructions were to run in daemon mode and bind the docker ports to localhost:

sudo docker run -d -p 8080:8080 -name my_first_oodt -i -t oodt

for example will bind the containers 8080 port to localhost 8080 so you can then visit http://localhost:8080/opsui

I grepped around for other ports as well so I also expose:

EXPOSE 8080
EXPOSE 9000
EXPOSE 2001
EXPOSE 9001
EXPOSE 9200
EXPOSE 9002

but I've not yet tested it in anger so milage will vary, but I can see this being a useful way of deploying both quick test builds in a segregated container, and also scale out clusters in the long run, I think it suits the OODT project nicely.

Tom

On 02/01/15 18:20, Tyler Palsulich wrote:
Hi Tom,

Thanks! I tried running this locally, but couldn't connect to 0.0.0.0:8080.
I installed and started docker, ran `docker pull buggtb/oodt`, ran the run
command (without sudo, since it doesn't work with sudo (also -- buggtb/oodt
instead of oodt)), and got a hash of the container. `docker inspect [hash]`
shows the container is running with a host ip of 0.0.0.0 and port 8080.

But, the connection to 0.0.0.0:8080/opsui is refused. I'm new to docker.
So, I'm not sure if this is user error. Any ideas?

Tyler

On Fri, Jan 2, 2015 at 1:41 AM, Tom Barber <[email protected]> wrote:

Hi guys,

I started work on a Docker install for Radix last night,

Its in SVN and also in Dockerhub:

https://registry.hub.docker.com/u/buggtb/oodt/

running:
docker pull buggtb/oodt
sudo docker run -d -p 8080:8080 -name my_first_oodt -i -t oodt

Should get it started with opsui running. I need to tidy up some bits and
pieces with the stale pids etc, but the crux is there, good way to test but
also distribute loads of nodes really quickly.

Tom
--
*Tom Barber* | Technical Director

meteorite bi
*T:* +44 20 8133 3730
*W:* www.meteorite.bi | *Skype:* meteorite.consulting
*A:* Surrey Technology Centre, Surrey Research Park, Guildford, GU2 7YG, UK



--
*Tom Barber* | Technical Director

meteorite bi
*T:* +44 20 8133 3730
*W:* www.meteorite.bi | *Skype:* meteorite.consulting
*A:* Surrey Technology Centre, Surrey Research Park, Guildford, GU2 7YG, UK

Reply via email to