diff --git a/jetty/README.md b/jetty/README.md index 107d81256..35659e933 100644 --- a/jetty/README.md +++ b/jetty/README.md @@ -71,6 +71,14 @@ RUN java -jar "$JETTY_HOME/start.jar" --add-to-startd=jmx,stats Modules may be configured in a `Dockerfile` by editing the properties in the corresponding `/var/lib/jetty/start.d/*.mod` file or the module can be deactivated by removing that file. +### JVM Configuration + +JVM options can be set by passing the `JAVA_OPTIONS` environment variable to the container. For example, to set the maximum heap size to 1 gigabyte, you can run the container as follows: + +```console +$ docker run -e JAVA_OPTIONS="-Xmx1g" -d jetty +``` + ## Read-only container To run `jetty` as a read-only container, have Docker create the `/tmp/jetty` and `/run/jetty` directories as volumes: diff --git a/orientdb/README.md b/orientdb/README.md index 3d68a3466..b6684a7e2 100644 --- a/orientdb/README.md +++ b/orientdb/README.md @@ -2,7 +2,7 @@ - [`2.0.18` (*2.0/Dockerfile*)](https://github.com/orientechnologies/orientdb-docker/blob/a43637b03a105ceb1104cbf5e42e93e1ffed0944/2.0/Dockerfile) - [`2.1.23` (*2.1/Dockerfile*)](https://github.com/orientechnologies/orientdb-docker/blob/37b0a2405c4f6d011a5e8fa4f1e42c9b77f45f28/2.1/Dockerfile) -- [`2.2.10`, `latest` (*2.2/Dockerfile*)](https://github.com/orientechnologies/orientdb-docker/blob/9901cc4ee6fc6c09ba9446e9fd579a0eabc6b337/2.2/Dockerfile) +- [`2.2.11`, `latest` (*2.2/Dockerfile*)](https://github.com/orientechnologies/orientdb-docker/blob/11a5e240390265e4138fb18c52eec3ba603ff229/2.2/Dockerfile) For more information about this image and its history, please see [the relevant manifest file (`library/orientdb`)](https://github.com/docker-library/official-images/blob/master/library/orientdb). This image is updated via [pull requests to the `docker-library/official-images` GitHub repo](https://github.com/docker-library/official-images/pulls?q=label%3Alibrary%2Forientdb).