jpetazzo / dockvpn

Recipe to build an OpenVPN image for Docker
Apache License 2.0
834 stars 295 forks source link

exec format error #7

Closed aviau closed 10 years ago

aviau commented 10 years ago

Hello!

I am still new to docker. I just ran your image and I got "exec format error". I also get: "finalize namespace drop capabilities operation not permitted"

Is this image still working?

jpetazzo commented 10 years ago

Can you give some details about your setup? Docker version, architecture, kernel, etc.?

I just tested with Docker 0.11.1 on x86_64 with kernel 3.14 and it works fine.

aviau commented 10 years ago

I will get back to you with this info.

aviau commented 10 years ago

Hello! The docker version I am using is Docker version 0.11.1, build fb99f99 on i386 I am on Debian testing

The Ubuntu base image must be amd64, this must explain my problems.

jpetazzo commented 10 years ago

Ah, yes, I confirm -- Docker is not officially supported in intel 32 bits platforms.

It will work, but you're on your own for images. Most Dockerfiles should work, though.

Out of curiosity, where did you find your Docker package?

aviau commented 10 years ago

It is in the official Debian Testing Repo http://packages.qa.debian.org/d/docker.io.html https://packages.debian.org/testing/docker.io

As you can see, it is available for amd64, armel, armhf and i386

jpetazzo commented 10 years ago

Oh, I see. Thanks!

On Fri, May 30, 2014 at 5:27 PM, Alexandre Viau notifications@github.com wrote:

It is in the official Debian Testing Repo http://packages.qa.debian.org/d/docker.io.html https://packages.debian.org/testing/docker.io

As you can see, it is available for amd64, armel, armhf and i386

— Reply to this email directly or view it on GitHub https://github.com/jpetazzo/dockvpn/issues/7#issuecomment-44712840.

@jpetazzo https://twitter.com/jpetazzo Latest blog post: http://jpetazzo.github.io/2014/03/23/lxc-attach-nsinit-nsenter-docker-0-9/

aerodame commented 9 years ago

I'm getting this same error also...

Docker_1.7.1/docker# sudo make build mkdir bundles docker build -t "docker-dev:HEAD" . Sending build context to Docker daemon 75.81 MB Sending build context to Docker daemon Step 0 : FROM ubuntu:14.04 Pulling repository ubuntu 91e54dfb1179: Download complete d3a1f33e8a5a: Download complete c22013c84729: Download complete d74508fb6632: Download complete ---> 91e54dfb1179 Step 1 : MAINTAINER Tianon Gravi admwiggin@gmail.com (@tianon) ---> Running in 8e3f314f7df6 ---> f1413c8ee247 Removing intermediate container 8e3f314f7df6 Step 2 : RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net --recv-keys E871F18B51E0147C77796AC81196BA81F6B0FC61 ---> Running in de8695f49355 2015/08/25 16:51:45 exec format error 2015/08/25 18:51:46 The command [/bin/sh -c apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net --recv-keys E871F18B51E0147C77796AC81196BA81F6B0FC61] returned a non-zero code: 1 make: *\ [build] Error 1

uname -a

Linux cubox-i 3.14.14+ #1 SMP Tue Aug 25 02:48:24 CEST 2015 armv7l armv7l armv7l GNU/Linux

jpetazzo commented 9 years ago

@aerodame : that's because you're running on Arm. That's not supported officially (at least, not yet!)

Sorry!