Read json from File in python

From time to time I have to read some json data from a file and use it in python. It’s not too often, but everytime I have to take a look at a python script where I already have done it. Maybe with this blog post I can remember that two lines from now on

Read more…

Docker startup fail - conflicts with network

These days I started with my first steps into Docker. We are using it at the company I work for and also for some private stuff, I thought it is a good idea to have a fast solution for testing. After I installed all necessary components (Docker version 1.11.2) the docker-daemon was not able to start.

Read more…

MongoDB Initial sync failed

After an upgrade to mongoDB 3.X and the switch from the DB-engine mmapv1 to wiredTiger we had to resync all replica sets from scratch. During that resync I figured out, that there is just on one shard a small collection which has a very large number of documents which are created, updated and deleted. Pretty close to that point, the resync should be done, the log file explodes and the sync crashes.

Read more…