Output of docker version:
Client:
Version: 1.11.1
API version: 1.23
Go version: go1.6.1
Git commit: 9e83765
Built:
OS/Arch: linux/amd64
Server:
Version: 1.11.1
API version: 1.23
Go version: go1.6.1
Git commit: 9e83765
Built:
OS/Arch: linux/amd64
Output of docker info:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 2
Server Version: 1.11.1
Storage Driver: btrfs
Build Version: Btrfs v3.16.2+20141003
Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 3.16.7-35-default
Operating System: openSUSE 13.2 (Harlequin) (x86_64)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 49.24 GiB
Name: opensuse
ID: SOBQ:JD7L:AJMY:QBLH:QHUL:IFWP:EQZV:JQYY:5N7H:5533:SGTM:6RRY
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
WARNING: No kernel memory limit support
Additional environment details (AWS, VirtualBox, physical, etc.):
openSUSE 13.2, 50GB RAM, ext2 filesystem with LVM.
/var/lib/docker mounted on btrfs disk partition.
Steps to reproduce the issue:
- Download openSUSE's iso and add it to /disks/openSUSE-13.2-DVD-x86_64.iso
- Run the commands below:
mountpoint -q /workspace/iso && umount /workspace/iso
rm -fr /workspace/root
rm -fr /workspace/zypper
rm -fr /workspace/iso
mkdir -p /workspace/iso
mount /disks/openSUSE-13.2-DVD-x86_64.iso /workspace/iso
rpm --initdb --dbpath /workspace/root/rpm
zypper --reposd-dir /workspace/zypper/reposd --cache-dir /workspace/zypper/cache --solv-cache-dir /workspace/zypper/solv --pkg-cache-dir /workspace/zypper/pkg --non-interactive addrepo --name suse-13.2-oss --no-gpgcheck /workspace/iso suse-13.2-oss
- On the host, run:
time zypper --reposd-dir /workspace/zypper/reposd --cache-dir /workspace/zypper/cache --solv-cache-dir /workspace/zypper/solv --pkg-cache-dir /workspace/zypper/pkg --non-interactive --root /workspace/root install rpm subversion
- Re-run step 2 and on container, run:
docker run --rm --net=none --log-driver=none -v "/workspace:/workspace" -v "/disks:/disks" opensuse bash -c "time zypper --reposd-dir /workspace/zypper/reposd --cache-dir /workspace/zypper/cache --solv-cache-dir /workspace/zypper/solv --pkg-cache-dir /workspace/zypper/pkg --non-interactive --root /workspace/root install rpm subversion"
Describe the results you received:
Results from steps 3:
real 0m11.248s
user 0m7.316s
sys 0m1.932s
Results from steps 4:
real 0m31.089s
user 0m14.876s
sys 0m12.524s
Describe the results you expected:
The output is sluggish when installing RPMs on containers. This may be the reason why creating new images on Dockerfiles takes such a long time to complete.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version:Output of
docker info:Additional environment details (AWS, VirtualBox, physical, etc.):
openSUSE 13.2, 50GB RAM, ext2 filesystem with LVM.
/var/lib/docker mounted on btrfs disk partition.
Steps to reproduce the issue:
Describe the results you received:
Results from steps 3:
Results from steps 4:
Describe the results you expected:
The output is sluggish when installing RPMs on containers. This may be the reason why creating new images on Dockerfiles takes such a long time to complete.
Additional information you deem important (e.g. issue happens only occasionally):