user5762337
user5762337

Reputation:

How to track file changes within a Docker Container

Is there an easy way to track file changes (files will be changed elsewhere) inside the docker container. I used COPY within the Dockerfile to test the functionality but now I need to keep track if the copied files are changing in the background. The changes are made within a different application (Not a docker container). This app fetches data and overwrites those files if something has changed --> Then my container should react to the changes and synchronize it's files.

Is a simple MOUNT enough to establish that?

Regards

Upvotes: 5

Views: 8779

Answers (1)

Related Questions