Skip to content

yojo3000/docker-pritunl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

測試環境: Ubuntu 18.04 Server x64 on ESXI && Raspberry Pi 3 & 4

Install Docker on Ubuntu:
Document Link

Install pip3:

curl https://bootstrap.pypa.io/get-pip.py | python3



Install docker-compose:

pip3 install docker-compose



Pull docker image:

docker pull yojo3000/pritunl



Or build the image yourself:

docker build . -t whatever/name_youwant



Turn on docker-compose from this repo:

docker-compose up



Visit Pritunl from browser:

https://ip_address

You will see that page below:



Enter docker container by container_name (pritunl):

docker exec -it pritunl /bin/bash



Get pritunl setup key. Copy the key and paste that in browser:

pritunl setup-key



Don't forget to modify mongodb_uri from localhost to mongodb (hostname of mongodb container)

If pritunl and mongodb work properly, you will see that page below:



Enter docker container"

docker exec -it pritunl /bin/bash



Get Pritunl default password for login

pritunl default-password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published