git clone https://github.com/bargees/barge-fstest.git
cd barge-fstest/
# Run test with default volume mounting from virtualbox
bash ./test.sh
# Optionally test it with NFS
bash ./test.sh nfs
Distro/App | Changes appear on file change | Changes appear on container restart |
---|---|---|
Alpine/Flask | Yes (causes an error) | Yes |
Alpine/Nginx | Yes | Yes |
Debian/Flask | Yes | Yes |
Debian/Nginx | Yes | Yes |
# Without NFS
======> Checking for change w/out restart
======> Restarting containers
======> Checking for change with restart
======> SUCCESS! NFS: 0
# With NFS
======> Checking for change w/out restart
======> Restarting containers
======> Checking for change with restart
======> SUCCESS! NFS: 1