/docker-hsqldb

Docker image of hsqldb server

Primary LanguageDockerfile

hsqldb-img

A Docker image of an HSQLDB server, built on version 2.5.1. This image includes:

  • hsqdldb.jar
  • sqltool.jar

Image exposes the standard port 9001 for running HSQLDB.

Usage

  1. Pull the image from Docker Hub:

    docker pull agherna/hsqldb
    
  2. Run the image.

    docker run -p 9001:9001 hsqldb
    

Building

  1. Edit the following files:

    • conf/logging.properties
    • conf/server.properties
    • conf/sqltool.rc
  2. Include any SQL to initialize the database on build in sql/init-db0.sql.

  3. Run the build:

    docker build . -t hsqldb
    
  4. Run the image:

    docker run -p 9001:9001 hsqldb
    

Image will run in the foreground and logging is directed to stdout by default.

See Also