Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.3 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.3 KB

docker-h2

Dockerized H2 database service.

Features

Trusted builds

Automated builds on docker registry:

Running

Get the image:

docker pull oscarfonts/h2

Run as a service, exposing ports 1521 (TCP database server) and 81 (web interface) and mapping DATA_DIR to host:

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

The H2 web console will be available at: http://localhost:81

See the logs while running:

docker logs -f MyH2Instance