Public | Automated Build

Last pushed: a year ago
Short Description
H2 Database
Full Description

H2 database

A H2 Docker images build on official Java 7.

Usage

Download the image:

docker pull zeilush/h2

Run as a daemon ('-d' option), exposing ports 1521 (TCP database server) and 81 (web interface). To persist the db data you need to map the DATA_DIR to a folder on your host ('-v' option):

docker run -d -p 1521:1521 -p 81:81 -v /path/to/local/data_dir:/opt/h2-data zeilush/h2 --name=myH2

Printing logs:

docker logs -f myH2
Docker Pull Command
Owner
zeilush
Source Repository

Comments (1)
rubyrube
a year ago

In order to get the image to run I had to move "--name=myH2" closer to the 'docker run'. Thank you and this worked:
docker run --name myH2 -d -p 1521:1521 -p 81:81 -v /path/to/local/data_dir:/opt/h2-data zeilush/h2