I have two containers one for apache and one for subversion

In One container I have installed apache on Ubuntu 20.04 base image.
In second Container, I have installed subversion on Ubuntu 20.04 base image.

During the installation of subversion in second container, i want to call the apache service from the container one and run the commands like a2enmod or make changes in apache2.conf file.

How can I do that?

I have created a bridge network to bring the container in the same network.