ExtentX Dashboard

Shipping ExtentX in a docker container

Dear Readers,

I’m happy to announce that I had successfully made an attempt and containerised the ExtentX in a docker. Now you can easily setup the entire infrastructure required for ExtentX in couple of seconds.

Installation

  1. Install Docker
  2. Pull the mongo image from the docker hub:
docker pull mongo
  1. Pull the extentx image from the docker hub:
docker pull email2vimalraj/extentx

Usage

Run Mongo server

docker run -p 27017:27017 -d --name extent-mongo mongo

Run ExtentX

docker run --link extent-mongo:mongodb --name extent-app -p 1337:1337 -d email2vimalraj/extentx

Goto http://localhost:1337 in your browser to view the ExtentX dashboard.

P.S: Hit Like button if you found this useful.

11 Replies to “Shipping ExtentX in a docker container”

  1. I am getting error like this

    arjun_m@BGL114638 MINGW64 ~
    $ docker run -p 27017:27017 -d –name extent-mongo mongo
    time=”2017-04-13T16:56:57+05:30″ level=info msg=”Unable to use system certificat
    e pool: crypto/x509: system root pool is not available on Windows”
    08db30db11f31d1885c60d5045b94d747a841c65830b545a95265ba8dbb23816

    arjun_m@BGL114638 MINGW64 ~
    $ docker run –link extent-mongo:mongodb –name extent-app -p 1337:1337 -d emai
    l2vimalraj/extentx
    time=”2017-04-13T16:58:13+05:30″ level=info msg=”Unable to use system certificat
    e pool: crypto/x509: system root pool is not available on Windows”
    d64e7fdcb6a8d96f0d8ee22c9dbddc09ea58d6245acb5452aa8b9bcf2cda713f

    Please help

    1. Are you behind the proxy? You might have to deal with certificates in your machine.

      Are you using docker toolbox or docker for windows?

  2. Hi vimal, am not getting any error , But nothing comes in localhost:1337

    jayasathya_n@CHD113849 MINGW64 ~
    $ docker run -p 27017:27017 -d –name extent-mongo mongo
    62d023468451f50afa28246330233475f7042bd14d34da4afbc78c112a4d245d

    jayasathya_n@CHD113849 MINGW64 ~
    $ docker run –link extent-mongo:mongodb –name extent-app -p 1337:1337 -d emai
    l2vimalraj/extentx
    eef18a418721c95a586b45723c35625999d3449d62442362794f38b86d173f05

    jayasathya_n@CHD113849 MINGW64 ~
    $

  3. Hi Vimal, thanks for your efforts. This made our life easy in setting up extentx with just 1 command.
    I’m currently facing is issue which is the extentx container stops abruptly and give below error in the logs.

    The worst part is, I loose all the reports. Note: the mongo container keeps on running.

    DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
    /usr/src/app/extentx/api/models/Test.js:125
    if (test.logs == null || test.logs.length === 0)
    ^

    TypeError: Cannot read property ‘logs’ of undefined
    at child.deepPopulateLogElements (/usr/src/app/extentx/api/models/Test.js:125:17)
    at child.wrapper [as deepPopulateLogElements] (/usr/src/app/extentx/node_modules/sails-hook-orm/node_modules/lodash/index.js:3095:19)

Leave a Reply