-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
OpenWrt's overlay FS doesn't work well with unpacking large images.
E.g. it can't unpack homeassistant image consuming all the space.
It can be overridden by creating an ext4 image file in the FS and use docker over it.
Here is a working script to run full HA container (not from the script in this repo) on GTW360, imx6 with 8gb emmc:
mkdir -p /mnt/docker
dd if=/dev/zero of=/docker.img bs=1M count=6144
mkfs.ext4 /docker.img
mount -t ext4 /docker.img /mnt/docker
/etc/init.d/dockerd stop
mv /opt/docker/* /mnt/docker/
rm -rf /opt/docker
ln -s /mnt/docker /opt/docker
/etc/init.d/dockerd start
export TZ="Europe/Amsterdam" # your timezone
docker run -d --name homeassistant --restart unless-stopped --privileged --network=host -v /mnt/docker/ha_config:/config -e TZ=$TZ ghcr.io/home-assistant/home-assistant:2025.11.3Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels