Run WAL-E backup commands on a linked Postgres container?

I have postgres and WAL-E running in a Docker container on Amazon ECS. It works fine and continuously backs up WAL segments to Amazon S3 like I want it to. However, I also want to run regular automated base backups, using a cron task or something similar.

I had been running WAL-E’s backup-push with docker exec against my Postgres container, but under Amazon ECS I don’t have a way of knowing the name of the container.

Is there a way to do docker run to start up another container, link to my postgres container with --link, and run backup-push in this new container? Or is there a more elegant way to accomplish what I’m going after?