Tipscorner

Tipps und Tricks für verschiedene Dinge im Leben

Archive for Januar 2016

Ansible and MacOS

leave a comment »


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

Advertisements

Written by MrT

Januar 30, 2016 at 16:38

Veröffentlicht in Uncategorized

wichtige Befehle für Docker (Spickzettel)

leave a comment »


Stop all docker containers:

$ docker stop $(docker ps -a -q)
remove all container
$ docker rm -v $(docker ps -a -q)

	

Written by MrT

Januar 29, 2016 at 18:29

Veröffentlicht in Uncategorized