Docker-openvpn: Tutorial: Set Up OpenVPN with docker-compose

Created on 6 Apr 2017  路  8Comments  路  Source: kylemanna/docker-openvpn

Hello, I wrote a small tutorial on installing openvpn with docker-compose. Maybe it'll be useful for someone

Most helpful comment

The way I see/use them, docker-compose files store my containers run configuration, and for this purpose are easier to use, retrieve and edit than potentially long docker run commands typed on the terminal. When you change something in a docker-compose file, the container is automatically recreated with the new configuration on the next run / start.

Running containers this way is pretty handy.

All 8 comments

@sochix can you please provide a high-level explanation why/what is the advantage of running docker-compose instead of "just running the docker image provided here"?
Sorry, a docker newbie :)

The way I see/use them, docker-compose files store my containers run configuration, and for this purpose are easier to use, retrieve and edit than potentially long docker run commands typed on the terminal. When you change something in a docker-compose file, the container is automatically recreated with the new configuration on the next run / start.

Running containers this way is pretty handy.

easier to use, retrieve and edit than potentially long docker run commands typed on the terminal.

I realized that when reading the Readme/startup. Do you plan "only a tutorial"?
Is there a reason why isn't the docker-compose + .yaml the default startup option here?

I guess its because docker-compose is a separate component that you have to install manually (as in getting it with curl) and more considered like a development tool, so it's not default and most people will use/know docker run instead.

@breznak , I absolutely agree with @buchdag on all points!

@sochix Hello sir,
I already setup the deafult config openvpn as per tutorial and its running well
Both client and server support have native ipv4 ipv6 support but when i connect to vpn , i could only access ipv4 sites
If possible could you help me setup ipv6 on openvpn

@Guilty-King sorry, can't help. I guess you should google for ipv6 with openvpn

@sochix thank you for quick reply i will sure look into it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucaszanella picture lucaszanella  路  7Comments

josjaf picture josjaf  路  5Comments

degritsenko picture degritsenko  路  3Comments

jkroepke picture jkroepke  路  7Comments

ebarault picture ebarault  路  4Comments