Looked at the Go scripts, seems like you are passing some params to the Docker, I am wondering if Docker Compose does the job.
I have created a container by pulling the Docker hub image using Docker Compose, I noticed that my ledger is empty every time I start the container and it will take time to resync the ledger.