Odroid HC2/XU4 docker container for openvpn-client

Hello, in search of the best possible docker container for running an openvpn client I stumbled upon the balenalib images/containers on docker hub.

I’m pretty new to docker and I don’t understand much and also new to balena.
I’m no linux expert either :grin:

Currently I run armbian (flavor of debian stretch) on my Odroid HC2 with docker installed.

I found an openvpn-client container based on balenalib/armv7hf docker container. But I saw there are also specific base containers for Odroid XU4 (Odroid HC2 is basically a XU4 with Sata port): https://hub.docker.com/r/balenalib/odroid-xu4-alpine/

So I want to ask what’s the difference between the two?

More specific: With kernel 4.14, HW accelerated crypto should be possible somehow acording to this post:

So I just want to know if I have any benefits in using this base container: https://hub.docker.com/r/balenalib/odroid-xu4-alpine/ and trying to get openvpn-client to run on it.
just use this prepared container: https://github.com/dperson/openvpn-client which is based on balenalib/armv7hf.

Hi @trohn-javolta

We have some tweaks in our base images for balenaOS and balenaCloud.
More information here https://www.balena.io/docs/reference/base-images/base-images/

The best possible docker container is the one that works for your application/use-case.

I’d suggest try them both and see what works for you.


Ok. Maybe I’m gonna try balenaOS as base and put everything else in containers.
I just don’t know what to think about giving a company SSH access to my device :face_with_raised_eyebrow:
I’d rather leave that away and not push stuff from balena account to my device but pull stuff from balena with my device.
Do you know if it runs on Odroid HC2 yet? I just read trough this thread:

If there’s an issue and it is not resolved I may be able to help (well…provide logs).
I bought this USB to UART kit: https://www.hardkernel.com/shop/usb-uart-module-kit/
cause I had boot problems once before…and I also managed to connect via UART to my device and get logs.
I could put it to use…maybe there is no problem at all and the user from the thread did sth. wrong…also happened to me before, when I started with sbc’s.

Our base images are also tailored for particular boards, in terms of exposing hardware correctly, kernel modules, etc. For use case, either would proabably work fine, but I’d suggest using the more specific one. Our images also assume that they’re running on top of BalenaOS, so if you’re using them on another OS, YMMV. I’d highly recommend checking out BalenaOS though, as it makes it very simple to run Docker containers on SBCs.