using docker in this way is fundamentally flawed. it can be done without, using native shell scripts like raspiblitz or raspibolt.