Docker + Joyent + OpenVPN = Bliss
blog.docker.io
Docker + Joyent + OpenVPN = Bliss
1–10 of 25 posts
Re: Docker + Joyent + OpenVPN = Bliss
#21. Process supervision should be handled in Docker (or something that is designed to do supervision), not in the `while true` loop. Idea on hanging on *.log files is terrible. Maybe there is a reason to stop the container when application stops?
2. There must be a better way to handle docker logs of multiple programs. If not, run both instances in different containers.
3. The thing serves configuration files to arbitrary clients that ask for them. It doesn't even log multiple downloads of the same key (though serves the private keys over SSL, which makes it hilarious on the purpose of SSL here).
Point 3 is openvpn specific and can be acceptable for example (though I am still lost why bother with SSL). However, points 1 and 2 show how to seriously misuse Docker. Either Docker or the setup is flawed (I suspect the latter).
Please do not take this article as an example how to do things in Docker. There must be better way, in more or less every step.
Re: Docker + Joyent + OpenVPN = Bliss
#3Re: Docker + Joyent + OpenVPN = Bliss
#4Re: Docker + Joyent + OpenVPN = Bliss
#5Re: Docker + Joyent + OpenVPN = Bliss
#6This looks fun, but if this is the only thing you are going to be using on your extremely small Joyent VM, why waste time and complexity putting your OpenVPN setup inside Docker? Seems unnecessary.
Re: Docker + Joyent + OpenVPN = Bliss
#7Why AUFS?
Re: Docker + Joyent + OpenVPN = Bliss
#8I only run VPNs through virtualized kernel instances now; if they fail, the hypervisor restarts them. Nothing else affected.
Re: Docker + Joyent + OpenVPN = Bliss
#9> Joyent Ubuntu image comes with an “optimized kernel”. It might be optimized, but it doesn’t have AUFS support, so you want to install an official Ubuntu kernel instead Why AUFS?
Re: Docker + Joyent + OpenVPN = Bliss
#10> Joyent Ubuntu image comes with an “optimized kernel”. It might be optimized, but it doesn’t have AUFS support, so you want to install an official Ubuntu kernel instead Why AUFS?