Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.64 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.64 KB

Docker image for SAP HANA, express edition (unofficial)

This image is designed as starting point to easily create an docker image for SAP HANA, express edition. In comes with all prerequisites and some infrastructure to run dockerized SAP HANA, express edition, but not SAP HANA itself. It is intended for quick development on top of SAP HANA only -- not for production!

Prequisites

  • docker
  • gmake
  • Java (for the SAP HANA, express edition downloader)

How to use

  1. Clone the git repository of this docker image.

  2. Download SAP HANA express edition using the download from the official website. Place the downloaded file hxe.tgz into the download folder of the git repository.

  3. Create a new docker image with SAP HANA, express edition inside:

    make
  4. Run the new image (as daemon, will be removed after it stopped):

    docker run --rm -d --name my_hana_instance -p 39013:39013 -p 39015:39015 -p 39018:39018 -p 4390:4390 -p 8090:8090 -p 59013:59013 -p 59014:59014 hana-express

    You can now connect to it and see how it comes up:

    docker exec -it my_hana_instance bash
    sudo -iu hxeadm watch HDB info

    Once it runs, you can connect to it via the command line client:

    docker exec -it my_hana_instance sudo -iu hxeadm hdbsql -i 90 -u SYSTEM -p HanaExpress1

Limitations

  • For now, the instance information is hardcoded:
    • System ID: HXE
    • Instance number: 90
    • Master password: HanaExpress1
    • Hostname: (some hash provided by docker)