Archive for Januar 2016
Ansible and MacOS
As of 2.0 ansible uses a few more file handles to manage its forks, OS X has a very low setting so if you want to use 15 or more forks you’ll need to raise the ulimit, like so
sudo launchctl limit maxfiles 1024 unlimited
.
Or just any time you see a “Too many open files” error.
Source: http://docs.ansible.com/ansible/intro_installation.html
wichtige Befehle für Docker (Spickzettel)
Stop all docker containers:
$ docker stop $(docker ps -a -q)
remove all container
$ docker rm -v $(docker ps -a -q)