Public Repository

Last pushed: 6 months ago
Short Description
An easy to start Hinemos container
Full Description

Hinemos Image

This image is intended to provide an easy way to start with Hinemos for beginners.
Both Hinemos Manager and Hinemos Web Client are included.

Supported tags and respective Dockerfile links

What is Hinemos?

Hinemos is an open source operations management system which provides a wide range of management features, including monitoring, job scheduling and infrastructure automation.

Click the links below to find the details.
Hinemos - Wikipedia
Hinemos Portal (official)

Customizations and Fixes in This Image

How to Use This Image

$ docker pull pango853/hinemos
$ docker run -d hinemos

$ docker exec --user root <container-id> jvm_start.sh
$ docker exec --user root <container-id> tomcat_start.sh -q

Or you can build it yourself.

$ git pull https://github.com/pango853/docker-images.git
$ cd docker-images/hinemos
$ docker build -t hinemos .
$ docker run -d -p 8000:80 hinemos

Tips: Better name a container

$ docker run -d --name myhinemos -p 8000:80 hinemos

Then it can be run like this.

$ docker exec --user root myhinemos jvm_start.sh
$ docker exec --user root myhinemos tomcat_start.sh -q

Then just access http://[HOST IP]:8000/ or http://[CONTAINER PRIVATE IP]:80/.
And don't forget to set Manager URL as http://[CONTAINER PRIVATE IP]:8080/HinemosWS/ at the login dialog.

Run the following command if you don't know the container IP.

$ docker exec myhinemos ip addr show

Optional: In case you might want to use systemctl, you can run with --privileged option.

$ docker run --privileged -d --name myhinemos -p 8000:80 hinemos /sbin/init

Optional: Change Web Client language

$ docker exec -u root myhinemos localedef -f UTF-8 -i ja_JP /usr/lib/locale/ja_JP.UTF-8
$ docker run -d --name myhinemos -p 8000:80 -e LANG=ja_JP.UTF-8 hinemos
$ docker exec -u root -e LANG=ja_JP.UTF-8 myhinemos tomcat_start.sh -q

Optional: Change listen IP manually

$ docker exec --user root myhinemos jvm_stop.sh
$ docker exec --user root myhinemos /opt/hinemos/sbin/mng/hinemos_change_listen_address.sh -w hinemos SPECIFY_LISTEN_IP
$ docker exec --user root -e AUTOIPFIX=off myhinemos jvm_start.sh
$ docker exec myhinemos netstat -nat

Other / Misc:

$ docker exec -it myhinemos bash
$ docker exec -it myhinemos psql
$ docker exec myhinemos tail -f /opt/hinemos/var/log/hinemos_manager.log
$ docker exec myhinemos tail -f /opt/hinemos_web/var/log/webclient.log

TODO

  • In the next update, I am planning to write a brief guide to allow user mount a external directory for logs and settings.

Disclaimer

Please feel free to use and enjoy. However I will not be responsible for any demage, cost or other liability, either directly or indirectly, caused by the use of this image and the relevant documents.

Docker Pull Command
Owner
pango853