The updated version of piawg seemed to remove some exception handling (Line 9) and that was preventing it from running in my container. I restored the exception handling from the original piawg file and then it worked. I'm attaching my modified version to this comment. [Optional] If you want to backup the original file then run this first: docker cp PIA-WG-Config-Generator:/app/piawg.py piawg_original.py To install the update, I copied it to my server and then ran the following command from the dir with the updated file: docker cp piawg.py PIA-WG-Config-Generator:/app/
piawg.py