Created
August 31, 2016 18:29
-
-
Save shoaibi/b53f65674480a0117404aba384aed9ef to your computer and use it in GitHub Desktop.
Fixing docker-sync's unison error about "cannot add a watcher: system limit reached"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo sysctl -w kern.maxfilesperproc=524288 | |
| sudo sysctl -w kern.maxfiles=524288 | |
| ulimit -n 524288 | |
| docker run --rm --privileged --entrypoint sysctl eugenmayer/unison:unox -w fs.inotify.max_user_watches=524288 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment