How to edit a file in a running container?

Metin, the problem is that I don’t have the php.ini that is being used in the /bitnami/php-fpm container. It was built by bitnami, not me. I have managed to get xdebug working on it by using appending some commands onto the bottom of it. I then tried to do the same thing with the pgsql commands, but it didn;t work. Then I added : RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql
to load the pgsql but it didn’t work. You can see the Dockerfile I am using below.