Letsencrypt docker image not starting with cryptical python error

It’s weird that it doesn’t log anything but this is probably PaX.

I built a tchollingsworth/certbot-pax container on top of the official certbot one that marks the python executable with the appropriate xattr to exempt it from PaX. Can you try it and see if it works for you? If so, I’ll submit the change upstream.

(You should examine the Dockerfile first to make sure I’m not stealing your private keys. :wink:) EDIT: I forgot the Dockerfile doesn’t show up unless you link it to GitHub or whatever. If you don’t trust me, the Dockerfile is just:

FROM certbot/certbot

RUN apk add --no-cache --virtual .pax-deps attr \
    && setfattr -n user.pax.flags -v "emr" /usr/local/bin/python2.7 \
    && apk del .pax-deps