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!
- docker
- gmake
- Java (for the SAP HANA, express edition downloader)
-
Clone the git repository of this docker image.
-
Download SAP HANA express edition using the download from the official website. Place the downloaded file
hxe.tgz
into thedownload
folder of the git repository. -
Create a new docker image with SAP HANA, express edition inside:
make
-
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
- For now, the instance information is hardcoded:
- System ID: HXE
- Instance number: 90
- Master password: HanaExpress1
- Hostname: (some hash provided by docker)