HomeAssistant on Docker

I tried to install HomeAssistant on

  • hAP ax³
  • RouterOS 7.10

following the guide below
https://community.home-assistant.io/t/installing-home-assistant-on-your-mikrotik-router-with-containers/522428

Under the pull directory I found the following error

{"errors":[{"code:"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"homeassistant/home-assistant","Action":"pull"}]}]}

It seems linked to the remote-image option: I have no idea on how fix this issue
Do you have any suggestion?

Add your dockerhub username and password:

/container/config/set username=myusername password=mypassword

Or use winbox to set it.

So if anyone else lands up here because their docker hub username & password DON’T WORK as a solution to this problem. It’s probably because you haven’t created a personal access token.

You need to create a token at https://hub.docker.com/settings/security

You then use the password generated for that specific access token. So you will log in with your docker-hub username, and the password you generated for a specific token/device.

Actually for me this didn’t work either, so I had to create a .tar using docker pull method