ubuntu 14.04 - Docker container returns "unknown" for "uname -p" command -


i installed brand new ubuntu server 14.04.2 lts , installed docker run containers. facing problems it. container used run jenkins , of jobs runs scripts install android ndk/sdk. these scripts checking platform of current machine using uname -p command. command runs on host machine returns unknown in containers follows:

lemonade@olympus:/$ docker info containers: 14 images: 171 storage driver: aufs  root dir: /var/lib/docker/aufs  dirs: 199 execution driver: native-0.2 kernel version: 3.16.0-38-generic warning: no swap limit support lemonade@olympus:/$ uname -a linux olympus 3.16.0-38-generic #52~14.04.1-ubuntu smp fri may 8 09:43:57 utc 2015 x86_64 x86_64 x86_64 gnu/linux lemonade@olympus:/$ uname -p x86_64 lemonade@olympus:/$ docker run -ti java:7 /bin/bash root@c6cdbb8a64fb:/# uname -p unknown root@c6cdbb8a64fb:/# uname -a linux c6cdbb8a64fb 3.16.0-38-generic #52~14.04.1-ubuntu smp fri may 8 09:43:57 utc 2015 x86_64 gnu/linux 

does knows why containers returning this? scripts (which not coded us) use this, lot of makefiles.

thanks!

i don't know exact reason why uname -p fail java:7 docker image seems due docker debian image. ubuntu docker image, fine.

$ docker run debian uname -p unknown  $ docker run ubuntu uname -p x86_64 

if @ dockerfile dependencies java:7 docker image find out following: java:7buildpack-deps:jessie-scmbuildpack-deps:jessie-curldebian:jessie

the thing breaks uname -p dependency on debian:jessie. build own java:7 docker image, making depend on ubuntu instead of debian.

for have come dockerfile merge of ones used make java:7 image.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -