Skip to content

v3.5 Docker

Andrey Kurilov edited this page Nov 4, 2017 · 3 revisions

1. Get an image

To get the latest stable version:

docker pull emcmongoose/mongoose

Otherwise, get the specific version:

docker pull emcmongoose/mongoose:3.5.1

2. Run standalone

docker run --network host --entrypoint java emcmongoose/mongoose -jar /opt/mongoose/mongoose.jar <ARGS>

Note:

In the old versions of Docker (prior to 1.12) the option "--net=host" instead of "--network host" should be used

3. Run the storage driver service

docker run --network host --expose 1099 --entrypoint java emcmongoose/mongoose -jar /opt/mongoose/mongoose-storage-driver-service.jar

4. Run the controller

docker run --network host --entrypoint java emcmongoose/mongoose -jar /opt/mongoose/mongoose.jar --storage-driver-remote --storage-driver-addrs=<ADDR1,ADDR2,...> <ARGS>

Notes:

  • To enable the remote monitoring functionality follow the Monitoring Reference and add --expose 9010 option to the docker run command.
  • To enable the remote management functionality follow the Management Reference and add --expose 9010 option to the docker run command.
Clone this wiki locally