Zookeeper config parameter how to dynamic change in docker?

i use docker with zookeeper,

COPY zookeeper-3.4.12.tar.gz /opt
RUN cd /opt && \
        tar -xvf zookeeper-3.4.12.tar.gz
ENV ZK_HOME /opt/zookeeper-3.4.12

the zoo.cfg have many configurations,i want to change these parameters, zoo.cfg

# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5

some docker instance change syncLimit = 10,some docker instance change tickTime=1000 should i use ARG,pass these paramters through docker run env?but how to change the zoo.cfg content? i don’t want to docker exec -it dockerid,and change the file,then commit.anyother suggestions?