Docker Community Forums

Share and learn in the Docker community.

Container fails under RHEL 7.2


(Bill Sidney) #1

Container created on RHEL 7.2 fails to run.

Using the same image from docker hub, containers work correctly on ubuntu 14.04 and boot2docker.

An automated build of this image aslo works correctly on RHEL and UBUNTU

But my CI server is running on ubuntu - and that build fails to run on RHEL 7.2.

It is also interesting, the image size is different from the docker hub automated build and builds from ubuntu and boot2docker pushed to docker hub.

Example:

$ docker run -it wtsidney/lastpass-cli:ubuntu 
# lpass login bill 
Success: Logged in as bill

# lpass ls 
Illegal instruction (core dumped)

===========

RHEL 7.2 SYSTEM: AWS - AMI (ami-775e4f16)

$ uname -a 
Linux us-west-2.compute.internal 3.10.0-327.18.2.el7.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux

$ docker -v 
Docker version 1.11.2, build b9f10c9

UBUNTU 14.04 SYSTEM:
$ uname -a
Linux 3.13.0-85-generic #129-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

$ docker -v 
Docker version 1.10.3, build 20f81dd

BOOT2DOCKER:

$ uname -a 
Darwin 15.5.0 Darwin Kernel Version 15.5.0: root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64

$ docker -v 
Docker version 1.11.1, build 5604cbe

(Dvohra) #2

RHEL 7 is supported. Does not imply RHEL 7.2 is supported.
https://docs.docker.com/engine/installation/linux/rhel/


(Bill Sidney) #3

Docker installs cleanly from the yum repository onto RHEL 7.2 - and executes hello-world correctly.

The differences I’m seeing is the kernel of the docker engine host.