Skip to content

Instantly share code, notes, and snippets.

@kazuph
Created July 16, 2014 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazuph/38e2425275796112bb9c to your computer and use it in GitHub Desktop.
Save kazuph/38e2425275796112bb9c to your computer and use it in GitHub Desktop.
boot2dockerでulimitを変更する ref: http://qiita.com/kazuph/items/ef9d3793d199f4d5b77b
boot2docker up
boot2docker ssh
sudo /etc/init.d/docker stop
sudo sh -c "ulimit -n 65535 && exec su $LOGNAME"
sudo /etc/init.d/docker start
docker run ubuntu sh -c 'ulimit -n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment