Heimdall is available in the cloud from AWS or we can install it on-premises. For practical purposes, here, we will install it locally through Docker by means of the following simple steps:
- Download the Docker file using the wget command:
wget https://s3.amazonaws.com/s3.heimdalldata.com/Dockerfile
- Build a Docker image:
docker build -t "heimdall:current" .
- Create a container based on that image in order to obtain Heimdall data:
docker run -d --name heimdall-instance -p 8087:8087 -p 3306:3306 -p 5432:5432 -p 1433:1433 heimdall:current
So far, the last step shows something super important: -p 8087:8087. This is the port for the Heimdall administration web. Let's see how to configure this first before checking whether our Heimdall container is running:
#docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e96017aef7b5 heimdall:current "/opt/heimdall/heimd…" 1 min ago Up 1 min ago 0.0.0.0:1433->1433...