InnovativeInventor / docker-pivpn

A secure docker container that sets up PiVPN in a virtual environment.
MIT License
90 stars 17 forks source link

Not getting prompted #11

Open samabsalom opened 6 years ago

samabsalom commented 6 years ago

Just seen this has been updated and thought i'd give it a go.

The container is made but during setup it doesn't run through the pivpn setup bit anymore and gets these errors. Doesn't mean much to me but hopefully this helps

sudo bash setup.sh Cloning into 'docker-pivpn'... remote: Counting objects: 11, done. remote: Compressing objects: 100% (9/9), done. remote: Total 11 (delta 2), reused 1 (delta 0), pack-reused 0 Unpacking objects: 100% (11/11), done. amd64: Pulling from innovativeinventor/docker-pivpn Digest: sha256:bd4019dc664eec9e4e55373648da785ec328be20eb11d2078eb563a90bc26e7a Status: Image is up to date for innovativeinventor/docker-pivpn:amd64 5c347f7ae81e758e6241734a0807f883ad95c02f30b84fdf3a077b6cd67976d2 setup.sh: line 200: warning: command substitution: ignored null byte in input ::: ::: You are root. ::: Verifying free disk space... ::: ::: Checking apt-get for upgraded packages.... done! ::: ::: Your system is up to date! Continuing with PiVPN installation... ::: ::: You are root. ::: Verifying free disk space... ::: ::: Checking apt-get for upgraded packages.... done! ::: ::: Your system is up to date! Continuing with PiVPN installation... Restarting container . . . 5c347f7ae81e758e6241734a0807f883ad95c02f30b84fdf3a077b6cd67976d2 Your port is 32779 sed: can't read /etc/openvpn/easy-rsa/pki/Default.txt: No such file or directory Generating configs . . . Please answer the prompts OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"pivpn\": executable file not found in $PATH": unknown Error response from daemon: Could not find the file /home/pivpn/ovpns in container 5c347f7ae81e758e6241734a0807f883ad95c02f30b84fdf3a077b6cd67976d2 Done! To execute commands, type docker exec -it 5c347f7ae81e758e6241734a0807f883ad95c02f30b84fdf3a077b6cd67976d2 /bin/bash All currently generated configs are in the ovpns directory To generate more configs, just type docker exec -it 5c347f7ae81e758e6241734a0807f883ad95c02f30b84fdf3a077b6cd67976d2 pivpn -a Your openvpn port should be 32779, open it up if you are using a firewall