Public | Automated Build

Last pushed: 2 years ago
Short Description
H2 Database
Full Description

H2 database

A H2 Docker images build on official Java 7.


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
Source Repository

Comments (1)
2 years 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