Ddclient (or general docker container) run once

I am using the ddclient container. It spins up updates a dns entry and does not exit. I think this is a feature… As in it can continuously update if something changes.

For my particular use case I need it to run once, update DNS, and then the container to exit.
I tried throwing some COMMAND into the docker compose file but no joy.

Any idea how I can get this thing to quit?

It’s made to run all the time, so no, you can’t make it quit.
Why is it an issue that it’s running?