---
title: "VPN Server 2020(2)Docker on CentOS in Ubuntu"
author: "sillycat"
date: "2020-03-02T08:04:41Z"
tags: []
categories: ["企业架构"]
slug: "vpn-server-2020-2-docker-on-centos-in-ubuntu"
draft: false
lastmod: "2020-03-02T08:04:41Z"
id: 2512732
url: "https://sillycat.iteye.com/blog/2512732"
---

VPN Server 2020(2)Docker on CentOS in Ubuntu

It seems that there is no much benefit to provide that in Docker.

Try on more time to see if I can set up in CentOS.

It is not supported in CentOS
> curl -L https://install.pivpn.io | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    331      0 --:--:-- --:--:-- --:--:--   332
100 81925  100 81925    0     0   120k      0 --:--:-- --:--:-- --:--:-- 2299k
:::
::: You are root.



References:
https://www.reddit.com/r/docker/comments/9k0225/how_can_i_create_a_container_to_run_pivpn/
https://hub.docker.com/r/ljishen/pivpn
https://medium.com/@gurayy/set-up-a-vpn-server-with-docker-in-5-minutes-a66184882c45
https://github.com/ljishen/pivpn-docker
https://github.com/InnovativeInventor/docker-pivpn