Docker: How to live sync host folder with container folder?

You can use volumes in order to do this. You have two options: Docker managed volumes: docker run -v /src/path nodejsapp docker run -i -t -volumes-from <container id> bash The file you edit in the second container will update the first one. Host directory volume: docker run -v `pwd`/host/src/path:/container/src/path nodejsapp The changes you make on … Read more

inotify with NFS

inotify requires support from the kernel to work. When an application tracks a directory, it asks the kernel to inform it when those changes occur. When the change occurs, in addition to writing those changes to disk, the kernel also notifies the watching process. On a remote NFS machine, the change is not visible to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)