Docker setup instructions

Does anyone have a guide on how to use docker for Windows for hassio (not Home Assistant), or can you share your docker setup for hassio? Since I’m installing hassio for the addons, how do I bring over the add-in configurations that I modified for IDE and Mosquitto Broker?

I currently have hassio running on a Hyper-V VM and have all of my yaml files setup the way I like it. I’ve never used docker before, but I think I have a rudimentary understanding.

Do I need to take all of my yaml files and put them in a directory on my host machine and when create my docker container I need to link that directory to the container.

What about the state files files like .homekit.state and .ios.conf? Do I need to have those linked to the container as well so I don’t have to manually enter a 9 digit number to link HA to HomeKit? Since I have the following in configuration.yaml this will bring over my nest thermostats?

nest:
  client_id: !secret nest_client_id
  client_secret: !secret nest_client_secret

I’m not a git guy, I prefer using hg (mercurial), though I’ve been told that docker doesn’t care about what type of VCS you use. Is there a way to execute a command to see what changes were made to tracked files, as well as new and deleted files?

The best way if you are using hass.io is to create a snapshot and then restore the snapshot on the new setup when HA is running. That will bring in all your configuration including addons setup.

I don’t follow. I’m currently running a VM on HyperV, but wish to use docker for windows. AFAICT there is even a hassio container for docker.

ETA: I guess there are hassio repos, but neither of them start. Which should I use? The ARMHF or AMD64? Both of them say they can’t find supervisor share in env, and the documentation is non existent.

Remember I’m using docke for WINDOWS.

well, unless your windows is running on an ARM processor, it certainly isn’t ARMHF

I doubt this is going to work for you.

Are those hypervisor containers running hassio, or are they for something else?

I’m able to create a HyperV virtual machine under windows with the VM running Ubuntu Server and install hassio, for what that’s worth.

You’re comparing Apples and Oranges here.

You have hassio running in docker on a supported host OS (for the script that installs it). You are asking to move to an unsupported host OS. Technically docker on windows runs in a VM also, so I’m not sure why you are trying to complicate matters, and go with a less supported OS.