Dockerized H2 database.
2.4.240 / latest2.3.2322.2.2242.1.2142.0.2061.4.200Get the image:
docker pull thomseno/h2
Run as a service, exposing ports 9092 (TCP database server) and 8082 (web interface) and mapping data volume to host:
docker run -d -p 9092:9092 -p 8082:8082 -v /path/to/local/h2-data:/h2-data --name=myH2Server thomseno/h2
By setting the JAVA_OPTS environment variable you can for example set the memory parameters of the JVM:
docker run -d -e JAVA_OPTS='-Xmx256m -Xms256m' -p 9092:9092 -p 8082:8082 -v /path/to/local/h2-data:/h2-data --name=myH2Server thomseno/h2
Content type
Image
Digest
sha256:3d91afdd1…
Size
99.8 MB
Last updated
11 months ago
docker pull thomseno/h2