@selzero Depends on how it is set up and what’s running in the docker container or containers. It is possible for example to have in the container just the apache/nginx and database, while the docroot with the website is a folder on the host mapped into the container. So you could in theory just change stuff in that mapped folder on the host. Or the whole lot is a custom build docker image.
Can you share some more information? Is there a docker-compare.yml and or a Dockerfile?