GithubHelp home page GithubHelp logo

bodsch / docker-jolokia Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 5.0 76 KB

Docker Container with tomcat-9, jre and jolokia

License: GNU General Public License v3.0

Shell 72.84% Makefile 4.04% Dockerfile 23.12%
jolokia tomcat jmx jmx-client monitoring

docker-jolokia's Introduction

docker-jolokia

Minimal Image with Apache Tomcat9, openjdk8-jre-base, jolokia and hawtio.

jolokia

Jolokia is remote JMX with JSON over HTTP.

It is fast, simple, polyglot and has unique features. It's JMX on Capsaicin.

hawtio

hawtio has lots of plugins such as: a git-based Dashboard and Wiki, logs, health, JMX, OSGi,

Apache ActiveMQ, Apache Camel, Apache OpenEJB, Apache Tomcat, Jetty, JBoss and Fuse Fabric

Since Version 1.4.0 needs jolokia an activated Jsr160RequestDispatcher.

This requires an activated authentication. An JOLOKIA_BASIC_AUTH environment variable can be used to add users for a Basic Authentication:

For an example:

JOLOKIA_BASIC_AUTH="jolokia:passed,spec:test"

Status

Docker Pulls Image Size Build Status

Build

Your can use the included Makefile.

To build the Container: make build

To remove the builded Docker Image: make clean

Starts the Container: make run

Starts the Container with Login Shell: make shell

Entering the Container: make exec

Stop (but not kill): make stop

History make history

Docker Hub

You can find the Container also at DockerHub

Versions

  • tomcat 9.0.16
  • openjdk from alpine
  • jolokia 1.6.0
  • hawtio 2.5.0

Tests

curl \
  http://localhost:8080/jolokia/ | jq
curl \
  http://localhost:8080/jolokia/list | jq
curl \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  http://localhost:8080/jolokia --data @examples/memory.json | jq
curl \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  http://localhost:8080/jolokia/read/java.lang:type=Memory/HeapMemoryUsage | jq

Ports

  • 8080
  • 22222

docker-jolokia's People

Contributors

bodsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-jolokia's Issues

enable proxy mode

No JSR-160 proxy is enabled by default since Jolokia 1.5.0.
Please refer to the reference manual, section "Proxy Mode", for how to switch on JSR-160 proxy mode again.
original doku

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.