Docker image for OM2M [message #1726299] |
Fri, 11 March 2016 08:04 |
David Zheng Messages: 11 Registered: April 2015 |
Junior Member |
|
|
I've build the very simple docker image for OM2M v0.8
https://hub.docker.com/r/iamgyz/om2m/
If you are looking for building the OM2M using Docker,
maybe this would be useful to you.
Also welcome the pull request to make it better
https://github.com/iamgyz/dockerfile-om2m
1. Using default configuration
If you just want to run from default configuration files in NSCL/configuration
For NSCL
docker run --rm -it -p 8080:8080 iamgyz/om2m:nscl
2. Using custom configuration
Put your configuration directory in current path, it will replace the default configuration directory when running
For NSCL
docker run --rm -it -p 8080:8080 -v "$(pwd)/configuration":/NSCL/configuration iamgyz/om2m:nscl
For GSCL
docker run --rm -it -p 8181:8181 -v "$(pwd)/configuration":/GSCL/configuration iamgyz/om2m:gscl
[Updated on: Fri, 11 March 2016 14:42] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03958 seconds