---------- Weitergeleitete Nachricht ---------- Von: "Eliot Kimber" ekimber@contrext.com Datum: 27.01.2016 6:25 nachm. Betreff: Re: [basex-talk] Status of BaseX Docker Container? An: "Christian Grün" christian.gruen@gmail.com Cc:
I have successfully created a new image based on the base image that provides my custom DFST Link Manager web app. Just a matter of copying the files into the BaseX directory structure (in my case, fetched from
github).
Because I'm doing DITA processing I have to enable DTD entity reference resolution. I'm doing that by using the entity resolution catalog provided by the DITA Open Toolkit. In this container context I am setting up a separate DITA OT container (rather than bundling the OT into the BaseX container, which would be easier but would make system configuration and maintenance harder). So I need to work out how to expose file systems from containers so they can share volumes. I know this is possible just haven't done it yet.
Cheers,
E.
Eliot Kimber, Owner Contrext, LLC http://contrext.com
On 1/27/16, 4:06 AM, "Christian Grün" christian.gruen@gmail.com wrote:
…thanks for the hints on the Windows solution! I’ll try it in a while.
On Tue, Jan 26, 2016 at 11:13 PM, Eliot Kimber ekimber@contrext.com wrote:
Forgot to add the Windows part:
Under windows have to explicitly publish the ports when running the container:
docker run --name=basex -p 8984:8984 -p 1984:1984 dfst/basex
then you can use the IP address of the docker-engine VM to connect to the server:
you can get the ip address using the "docker-machine ip" command: c:\Program Files\Docker Toolbox>docker-machine ls NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS default - virtualbox Running tcp://192.168.99.100:2376 v1.9.1 c:\Program Files\Docker Toolbox>docker-machine ip default 192.168.99.100
the docker-machine command replaces the older boot2docker command
So now I have BaseX server running and accessible as Docker containers under Windows and CentOS.
OSX is still a problem: there's some issue with the docker daemon and getting the docker client to connect to it. Haven't been able to find a good solution in my searching. Very annoying.
Cheers,
E.
Eliot Kimber, Owner Contrext, LLC http://contrext.com
On 1/26/16, 3:50 PM, "Eliot Kimber" <basex-talk-bounces@mailman.uni-konstanz.de on behalf of ekimber@contrext.com> wrote:
For what it's worth, I've pushed a generic BaseX HTTP container to Docker Hub as "dfst/basex". It exposes the default ports for the base and HTTP servers (1984 and 8984).
From a Linux system you connect by using the IP address of the Docker network, e.g.:
Under Windows:
The DockerFile is in GitHub here:
https://github.com/dita-for-small-teams/dfst-docker
My next task will be to create a container based on this one that includes specific configuration and the DFST Web application modules. Should be easy once I get to it.
Cheers,
E.
Eliot Kimber, Owner Contrext, LLC http://contrext.com
On 1/26/16, 9:48 AM, "Eliot Kimber" <basex-talk-bounces@mailman.uni-konstanz.de on behalf of ekimber@contrext.com> wrote:
OK, I'm going to proceed with making a generic basex Docker container in the DFST Docker project on GitHub. I'm using Andreas' as a starting point but it's pretty trivial.
I'm working/testing on OS X, Windows, and CentOS so I should be able
to
get something going.
Cheers,
E.
Eliot Kimber, Owner Contrext, LLC http://contrext.com
On 1/26/16, 2:02 AM, "Christian Grün" christian.gruen@gmail.com wrote:
Hi Eliot,
Personally, I had a hard time making Docker work on Windows machines, but we have various Docker aficionados in our team and around, so I hope they¹ll give you some feedback soon.
Cheers, Christian
On Sun, Jan 24, 2016 at 8:22 PM, Eliot Kimber ekimber@contrext.com wrote: > I'm working toward using BaseX in a Docker container as part of the >DITA > for Small Teams project (we're trying to set up a system of Docker > containers with all the DFST parts integrated out of the box). > > I notice that Andreas Jung has create a simple container here: > > https://github.com/zopyx/docker-basex > > And pushed it to the Docker Hub in the basex namespace. > > I'm wondering what the relationship of this is, if any, to any >official > BaseX Docker support? > > Thanks, > > Eliot > ---- > Eliot Kimber, Owner > Contrext, LLC > http://contrext.com > > > >
basex-talk@mailman.uni-konstanz.de