exakat / exakat-docker

Docker Container for Exakat
20 stars 9 forks source link

Exakat Docker Container

Docker container and run Exakat 2.4.0.

Features

Tags

Installation

  1. Install the exakat/exakat container:

    $ docker pull exakat/exakat
  2. Run Exakat:

    $ docker run -v $(pwd)/projects:/usr/src/exakat/projects --rm exakat/exakat exakat
  3. Make commandline short cut for Exakat :

    $ echo "#\!/bin/bash\ndocker run -it -v \$(pwd)/projects:/usr/src/exakat/projects --rm --name my-exakat exakat/exakat exakat \$@" > /usr/local/bin/exakat
    $ chmod u+x /usr/local/bin/exakat
    $ exakat version

Dockerfile building

To build the Exakat dockerfile :

  1. Clone the source:

    $ git clone https://github.com/exakat/exakat-docker.git
    $ cd exakat-docker
  2. Build the container:

    $ docker build --no-cache -t exakat/exakat:2.1.9 .
  3. Test the Exakat container:

    $ docker run -it -v $(pwd):/usr/src/exakat/projects --rm exakat/exakat exakat doctor
    $ docker run -it -v $(pwd):/usr/src/exakat/projects --rm exakat/exakat exakat init -p nlptools -R https://github.com/atrilla/nlptools.git -v
    $ docker run -it -v $(pwd):/usr/src/exakat/projects --rm exakat/exakat exakat project -v -p nlptools