Installed it, worked last night, not after reboot

I installed docker and home assistant for the first time last night and it was working good enough that I could control a wifi light bulb. Decided to call it an night.

This morning I noticed that my swap was almost consumed and decided to expand it.

After the reboot I can’t get docker and HA running.

Pi5, 4GB, bookworm.

This where I think things are failing.

dockerd[1455]: unable to configure the Docker daemon with file /etc/docker/daemon.json: read /etc/docker/daemon.json: is a directory

daemon.json is a directory, there are home assistant files in it. What do I do to fix this?

Thanks

What commandline did you start docker with?

Not sure what you did, but it’s definitely not supposed to be so.
That is an optional file, with some advanced docker configuration in it.

How do you actually start the HA docker container?
It almost look like you did something like -v /etc/docker/daemon.json:/config under root, for some crazy reason.

The instructions had a spot with

-v /PATH_TO_YOUR_CONFIG:/config

and I looked up where docker stores it’s config and used it. Big mistake. I figured it out last night and got it running now.

I noticed this in the command line I’m using

--network=host ghcr.io/home-assistant/home-assistant:stable

Does that mean Home Assistant is being loaded off of the internet each time it starts?
If so, what happens if my ISP is down or the site is unreachable?

Thanks to both of you for replying.

No. The most recent docker image will never be automatically fetched.
You have to do a docker pull ghcr.io/home-assistant/home-assistant:stable manually.