Could you show us the docker compose file? or maybe some scripts you're trying to run
And I'm thinking about some ideas below: