When running Ubuntu 14.04 inside Docker I've seen this issue with CentOS as well:
CentOS 7.2 3.10.0-327.4.4.el7.x86_64 I tested a few kernels with Ubuntu 14.04 as host OS and I found: apt-get update extremely slow on kernels: 3.13.0-76 3.13.0-65 3.13.0-30 3.13.0-29 apt-get update fast on kernel: 3.13.0-45 So my workaround for now is to install and run kernel 3.13.0-45 My working setup is; # docker --version Docker version 1.9.1, build a34a1d5 # uname -a Linux lys-jenkins 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1332440 Title: apt-get update very slow when ulimit -n is big To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1332440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs