Closed brunoborges closed 8 years ago
I can't reproduce this issue:
[amiller@sirius ~]$ docker info
Containers: 1
Images: 740
Storage Driver: btrfs
Build Version: Btrfs v3.16.2
Library Version: 101
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.8.13-98.4.1.el7uek.x86_64
Operating System: Oracle Linux Server 7.2
CPUs: 8
Total Memory: 31.14 GiB
Name: sirius.lot209.com
ID: 4NBZ:IPAL:OKWW:P4WD:H7VT:SJGT:KQL4:H4X2:EVSR:6W6D:ATKS:M6BC
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
amiller@sirius ~]$ docker version
Client:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f0bb124
Built: Wed Oct 14 04:38:36 UTC 2015
OS/Arch: linux/amd64
Server:
Version: 1.8.3
API version: 1.20
Go version: go1.4.2
Git commit: f0bb124
Built: Wed Oct 14 04:38:36 UTC 2015
OS/Arch: linux/amd64
Dockerfile:
$ cat Dockerfile
FROM oraclelinux:latest
RUN yum -y install httpd mod_ssl
EXPOSE 80 443
CMD ["/bin/bash"]
$ docker build .
Sending build context to Docker daemon 2.048 kB
Step 0 : FROM oraclelinux:latest
---> a8fd27de55f5
Step 1 : RUN yum -y install httpd mod_ssl
---> Running in 585b8772c34a
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-40.0.1.el7 will be installed
--> Processing Dependency: httpd-tools = 2.4.6-40.0.1.el7 for package: httpd-2.4.6-40.0.1.el7.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.4.6-40.0.1.el7.x86_64
--> Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-40.0.1.el7.x86_64
--> Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-40.0.1.el7.x86_64
---> Package mod_ssl.x86_64 1:2.4.6-40.0.1.el7 will be installed
--> Processing Dependency: openssl for package: 1:mod_ssl-2.4.6-40.0.1.el7.x86_64
--> Running transaction check
---> Package apr.x86_64 0:1.4.8-3.el7 will be installed
---> Package apr-util.x86_64 0:1.5.2-6.0.1.el7 will be installed
---> Package httpd-tools.x86_64 0:2.4.6-40.0.1.el7 will be installed
---> Package mailcap.noarch 0:2.1.41-2.el7 will be installed
---> Package openssl.x86_64 1:1.0.1e-51.el7_2.1 will be installed
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-51.el7_2.1 for package: 1:openssl-1.0.1e-51.el7_2.1.x86_64
--> Processing Dependency: make for package: 1:openssl-1.0.1e-51.el7_2.1.x86_64
--> Running transaction check
---> Package make.x86_64 1:3.82-21.el7 will be installed
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7_1.9 will be updated
---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
httpd x86_64 2.4.6-40.0.1.el7 ol7_latest 1.2 M
mod_ssl x86_64 1:2.4.6-40.0.1.el7 ol7_latest 103 k
Installing for dependencies:
apr x86_64 1.4.8-3.el7 ol7_latest 99 k
apr-util x86_64 1.5.2-6.0.1.el7 ol7_latest 91 k
httpd-tools x86_64 2.4.6-40.0.1.el7 ol7_latest 81 k
mailcap noarch 2.1.41-2.el7 ol7_latest 30 k
make x86_64 1:3.82-21.el7 ol7_latest 419 k
openssl x86_64 1:1.0.1e-51.el7_2.1 ol7_latest 710 k
Updating for dependencies:
openssl-libs x86_64 1:1.0.1e-51.el7_2.1 ol7_latest 949 k
Transaction Summary
================================================================================
Install 2 Packages (+6 Dependent packages)
Upgrade ( 1 Dependent package)
Total download size: 3.6 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total 513 kB/s | 3.6 MB 00:07
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : 1:openssl-libs-1.0.1e-51.el7_2.1.x86_64 1/10
Installing : apr-1.4.8-3.el7.x86_64 2/10
Installing : apr-util-1.5.2-6.0.1.el7.x86_64 3/10
Installing : httpd-tools-2.4.6-40.0.1.el7.x86_64 4/10
Installing : 1:make-3.82-21.el7.x86_64 5/10
Installing : 1:openssl-1.0.1e-51.el7_2.1.x86_64 6/10
Installing : mailcap-2.1.41-2.el7.noarch 7/10
Installing : httpd-2.4.6-40.0.1.el7.x86_64 8/10
Installing : 1:mod_ssl-2.4.6-40.0.1.el7.x86_64 9/10
Cleanup : 1:openssl-libs-1.0.1e-42.el7_1.9.x86_64 10/10
Verifying : apr-1.4.8-3.el7.x86_64 1/10
Verifying : mailcap-2.1.41-2.el7.noarch 2/10
Verifying : 1:openssl-libs-1.0.1e-51.el7_2.1.x86_64 3/10
Verifying : 1:make-3.82-21.el7.x86_64 4/10
Verifying : 1:mod_ssl-2.4.6-40.0.1.el7.x86_64 5/10
Verifying : 1:openssl-1.0.1e-51.el7_2.1.x86_64 6/10
Verifying : apr-util-1.5.2-6.0.1.el7.x86_64 7/10
Verifying : httpd-2.4.6-40.0.1.el7.x86_64 8/10
Verifying : httpd-tools-2.4.6-40.0.1.el7.x86_64 9/10
Verifying : 1:openssl-libs-1.0.1e-42.el7_1.9.x86_64 10/10
Installed:
httpd.x86_64 0:2.4.6-40.0.1.el7 mod_ssl.x86_64 1:2.4.6-40.0.1.el7
Dependency Installed:
apr.x86_64 0:1.4.8-3.el7 apr-util.x86_64 0:1.5.2-6.0.1.el7
httpd-tools.x86_64 0:2.4.6-40.0.1.el7 mailcap.noarch 0:2.1.41-2.el7
make.x86_64 1:3.82-21.el7 openssl.x86_64 1:1.0.1e-51.el7_2.1
Dependency Updated:
openssl-libs.x86_64 1:1.0.1e-51.el7_2.1
Complete!
---> 2ed4741d3db4
Removing intermediate container 585b8772c34a
Step 2 : EXPOSE 80 443
---> Running in 9bd571126743
---> efac406aea3a
Removing intermediate container 9bd571126743
Step 3 : CMD /bin/bash
---> Running in de64425ab099
---> 6c68575a4076
Removing intermediate container de64425ab099
Successfully built 6c68575a4076
Note that I'm using the correct yum command (yum -y install
) and I've added mod_ssl
for SSL (port 443) support.
All the related issues seem to be when you're using aufs
which is not supported on Oracle Linux at all.
Can you check Docker 1.9?
We haven't released Docker 1.9 for Oracle Linux yet, as it requires our as-yet-unreleased UEK4 (4.1.12) kernel. However, I tested it with an internal build of Docker 1.9.1 and kernel-uek-4.1.12 and it works fine.
Runtime info for Docker 1.9 and UEK4:
$ docker info
Containers: 1
Images: 194
Server Version: 1.9.1
Storage Driver: btrfs
Build Version: Btrfs v3.19.1
Library Version: 101
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.12-31.el7uek.x86_64
Operating System: Oracle Linux Server 7.2
CPUs: 4
Total Memory: 7.544 GiB
Name: ol7dev.lot209.com
ID: HOMW:B72W:LGFJ:HPNP:BVC3:XY5J:P4P5:BGIN:OIYR:QK7T:QEMB:3UBM
The docker build
of the Dockerfile from above works fine.
Yeah, confirmed here too. It is an issue with autfs.
Thanks Avi for double checking tough.
Hi everyone,
I do not face this issue on my machines, but I do with my automatic build derjudge/piwik, based on centos:centos7
. So the docker build service seems to be affected by this, also (see https://hub.docker.com/r/derjudge/piwik/builds/bcc7jbxwdzn7ssezehksajg/).
Here's the image I'm trying to build:
Here's the error message I get:
Tried with different OL 7.x versions. All failed. Tried with OL 6 (latest). It worked.
I've found some related issues: