Found a solution to automatically create a docker-compose.yml file and bring it under compose control.
I created it using this tool: https://github.com/Red5d/docker-autocompose
Ran: $ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose <container_id> > /armbian/adguardhome/docker-compose.yml
Modified the image stanza to pull latest: image: "adguard/adguardhome:latest"
Then docker stop and docker rm the old container, and start the new version with docker compose up -d
It is now running fine:
user@host:/armbian/adguardhome$ docker compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
adguardhome adguard/adguardhome:latest "/opt/adguardhome/Ad…" adguardhome 6 minutes ago Up 6 minutes
Thanks!