Skip to content

v3.5 Docker

Andrey Kurilov edited this page Jul 12, 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.0

2. Run standalone

docker run --net=host emcmongoose/mongoose java -jar /opt/mongoose/mongoose.jar <ARGS>

Note:

In new versions of Docker like 1.12.x the option "--network host" instead of "--net=host" should be used

3. Run the storage driver service

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

4. Run the controller

docker run --net=host emcmongoose/mongoose java -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