Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save manueldev/a064dd2eb9026252465a30bfd12e4ee2 to your computer and use it in GitHub Desktop.

Select an option

Save manueldev/a064dd2eb9026252465a30bfd12e4ee2 to your computer and use it in GitHub Desktop.
FIX: Docker mounted file is not updating? Your text editor probably updated the file inode
https://medium.com/@jonsbun/why-need-to-be-careful-when-mounting-single-files-into-a-docker-container-4f929340834
To fix vim:
1) vim ~/.vimrc
2) Add this line:
set backupcopy=yes
https://github.com/moby/moby/issues/15793#issuecomment-135411504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment