Dockerized H2 database
10K+
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:3736f79ea…
Size
112.5 MB
Last updated
about 15 hours ago
docker pull thomseno/h2