Docker-openvpn: raspberry pi 3 problem

Created on 15 Feb 2019  路  7Comments  路  Source: kylemanna/docker-openvpn

Unable to find image 'kylemanna/openvpn:latest' locally
latest: Pulling from kylemanna/openvpn
6c40cc604d8e: Pull complete 
c900ad601fe1: Pull complete 
74f285904ffc: Pull complete 
e8964c63e289: Pull complete 
2887d2908dae: Pull complete 
Digest: sha256:7de85b4611f0e205f3249ef999a6361b2437a5d39e614787d53733d8b5dc6454
Status: Downloaded newer image for kylemanna/openvpn:latest
standard_init_linux.go:207: exec user process caused "exec format error"

Most helpful comment

Hello,

if you do not want to rebuild the image, I have made a ARM-Compatible image.

Cheers

All 7 comments

The latest tag not support amr CPU architecure.
Download the Dockerfile and replace the FROM alpine:latest Tag with FROM alpine:3.8 or use follow commands (test with Raspberry Pi 2)

git clone https://github.com/kylemanna/docker-openvpn.git && cd docker-openvpn
sed -i "/FROM/s/latest/3.8/g" Dockerfile
docker build --no-cache -t kylemanna/openvpn .

Hello,

if you do not want to rebuild the image, I have made a ARM-Compatible image.

Cheers

Perhaps add a second image to this repository which supports raspberry pi?

Hello,

if you do not want to rebuild the image, I have made a ARM-Compatible image.

Cheers

Would you upload your changes to github so we can take a look at it?

Hello,

Up. Are people using alpine:3.8 or @JulianTiller 's fork?

Cheers

standard_init_linux.go:211: exec user process caused "exec format error"

Same error with RaspberryPi 4 and the latest version on DockerHub

No matter with RaspberryPiOs armv7 (32bit) or aarch64 (64bit) version

I fixed it by clone this repo and build it self local

docker build . -t docker-openvpn --pull --no-cache

And I create the empty vars file manuelly to fix

The file '/etc/openvpn/vars' was not found.

like in https://github.com/kylemanna/docker-openvpn/issues/605#issuecomment-694836874

Sorry, the images hosted on Docker Hub are only for x86_64 platforms. Building it locally on the desired platform is a good way to work around this.

The vars file is a different problem that affects everyone.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

comphilip picture comphilip  路  3Comments

rottmann picture rottmann  路  8Comments

breznak picture breznak  路  7Comments

josjaf picture josjaf  路  5Comments

rgarrigue picture rgarrigue  路  3Comments