Created
July 16, 2014 11:30
-
-
Save kazuph/38e2425275796112bb9c to your computer and use it in GitHub Desktop.
boot2dockerでulimitを変更する ref: http://qiita.com/kazuph/items/ef9d3793d199f4d5b77b
This file contains 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
boot2docker up |
This file contains 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
boot2docker ssh |
This file contains 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 /etc/init.d/docker stop | |
sudo sh -c "ulimit -n 65535 && exec su $LOGNAME" | |
sudo /etc/init.d/docker start |
This file contains 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
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