Ubuntu ships with a buggy version of the package mod-wsgi-py3 See the details on http://askubuntu.com/questions/569550/assertionerror-using-apache2-and-libapache2-mod-wsgi-py3-on-ubuntu-14-04-python The container needs to install that fix.