Docker - cant locate configuration.yaml

I used HA on Rpi3 for a long time. Now I migrate to Ubuntu. I`ve installed HA through recommended script as Docker.

HA running and all sounds good, but now I need migrate configuration.
But I cant locale “config” dir where are configuration.yaml, customize.yaml etc.
I think that is in “/usr/share/hassio” but folder doesnt exists. I try create it and copy files my configurations there but nothing happen (after restart of course).

Thanks for any help.

1 Like

Were you running Hassio on your Raspberry Pi as well? If so, you can take a snapshot of your setup on the Pi, copy it over to the new machine, and restore it on the new machine.

What was your actual docker command? I use

docker run -d --name="home-assistant" -v /home/jason/homeassistant:/config -v /etc/localtime:/etc/localtime:ro --net=host homeassistant/home-assistant

Then the config and other files are in /home/jason/homeassistant

It appears he ran the Hassio installer as opposed to doing a Docker install.

I have installed it from

There is a supervisor script ( ). I found that is mount path:


where is configuration.yaml etc. but when I copy contents here it was overwriten …

After a few hours I remove everything and reinstall it standalone via

docker run --init -d --name="home-assistant" -e "TZ=Europe/Prague" -v /home/frosty22/homeassistant:/config --net=host homeassistant/home-assistant:stable

and it looks that all is good.

Thank you.