Install Hassio On Docker

/ Comments off

Install Docker’s official GPG key and verify the fingerprint. So looking around the internet there didn’t seem to be a ton of tutorials installing what was called Hassio in Docker. Apr 17, 2019 -d /home/user/docker/hassio - Optional but I strongly recommend that you list a known path to store data. The path listed here is just an example. Upon successful execution of the Docker installation script, the output should look something similar to the one below. Installation On Docker - Confirmation Message.

Sometimes you have to execute commands on your Home Assistant server. For this, as in many other devices, there is the option of remote access by SSH (Secure Shell). This gives us the option to recover our server in the event of a failed configuration or execute commands at a low level to have greater control and be able to perform actions that would otherwise be impossible. gives us an Add-on that offers both, creating an SSH server, based on OpenSSH, and a Web Terminal to launch commands.

The SSH & Web Terminal Add-on

First of all, the SSH & Web Terminal Add-on is extremely powerful, giving access to all server tools, commands, files and hardware. It is necessary to create a secure configuration for the Add-on and know the commands to be used to avoid possible damage.

Install Hassio Docker Raspberry Pi

Even with all the power of the Add-on, the installation and first uses are very simple. Let’s see it.

Install hassio docker synology

Install Hassio On Docker Download

Installation and configuration


As in other articles, the installation passes by accessing the menu in the left panel of the Home Assistant web interface and then searching for the SSH & Web Terminal Add-on within the Add-on Store tab.

Inside, click on Install, once installed, enable the options: “Start on boot”, “Show in sidebar” and “Protection Mode”. The latter is necessary to give elevated permissions to the Add-on to execute certain commands.

Before activating the Add-on, on the page, scroll down to the configuration section and enter the following code:


If SSL protection is not used, deactivate the ssl node with the value false, and delete the certfile and keyfile nodes.


The configuration is prepared for a server configured from the previous articles. It is only necessary to change the SSH username and password. The rest can be ignored unless an advanced configuration is desired.

Save by clicking Save and at the top of the page click Start. It is also recommended to restart the Home Assistant server so that all changes are applied.


Once started, the Terminal section will appear on the left side panel. If you enter, it will load a Terminal window where commands can be executed. Again, beware of the commands you are going to execute.

Install Hassio Docker Raspberry Pi 4

Finally, in order to connect remotely via SSH, it is necessary to open port 22 on the Internet connection router and redirect together with the IP to the Home Assistant server. In the configuration of the Add-on itself there is a section to be able to change the port for another one.

From Putty or a remote terminal with SSH installed, just run the command ssh -p 22 [email protected] and type the password previously configured to access the server.

Installing Hassio On Docker On Raspberry Pi

Install hassio in docker

Install Hassio On Debian Docker


From now on you will be able to access your Home Assistant server remotely and securely to execute commands, as well as execute commands directly from the Home Assistant interface with all the power and versatility that this offers.

This and other articles complement the documentation of the GitHub repository where all the configuration of my house is available.