Install Heimdall Inside Docker Container in Linux

Install Heimdall Inside Docker Container in Linux

Heimdall is a web-based dashboard for organizing links to the web applications and sites. Heimdall is an open-source project available under the MIT license.

This tutorial explains how to install Heimdall inside a Docker container in the Linux. Commands have been tested on Ubuntu.

Prepare environment

Make sure you have installed Docker in your system. If you are using Ubuntu, installation instructions can be found in the post.

Install Heimdall

  • Host network

Run the following command to create a container for Heimdall that uses host network:

docker run -d --name=heimdall --restart=always --network=host \
    -v /opt/heimdall/config:/config \
  • User-defined bridge network

User-defined bridge network can be used for listening on different port. By default, Heimdall service is listening on port 80. It can be changed with -p option.

docker network create app-net
docker run -d --name=heimdall --restart=always --network=app-net \
    -p 8080:80 \
    -v /opt/heimdall/config:/config \

Testing Heimdall

To access dashboard, open a web browser and go to http://<IP_ADDRESS>, where <IP_ADDRESS> is the IP address of the system.

Heimdall Inside Docker Container in Linux

Uninstall Heimdall

To completely remove Heimdall, remove its container:

docker rm --force heimdall

Remove Heimdall image:

docker rmi linuxserver/heimdall

You can also remove Heimdall data:

sudo rm -rf /opt/heimdall

If a user-defined bridge network was created, you can delete it as follows:

docker network rm app-net

Leave a Comment

Cancel reply

Your email address will not be published.