Red Hat Bugzilla – Bug 1302418
Starting container sometimes fails on Docker 1.9.1-14
Last modified: 2016-03-31 19:23:44 EDT
Description of problem: When starting several containers in rapid succession, some of them fail to start.
Version-Release number of selected component (if applicable): docker-1.9.1-14.el7
How reproducible: occasionally
Steps to Reproduce:
1. docker pull busybox
2. for i in `seq 1 100`; do docker run -d busybox sleep 1d; done
Actual results: most containers start ok, but some fail to start with an error like this:
Error response from daemon: Cannot start container 51cf9a82241f081ed9102875dd937906fb68b413618f883a0ab62f9421d51870:  System error: write /sys/fs/cgroup/devices/system.slice/docker-51cf9a82241f081ed9102875dd937906fb68b413618f883a0ab62f9421d51870.scope/cgroup.procs: no such device
Expected results: all containers start ok
docker-1.8.2-10 doesn't appear to have this issue. docker-1.9.1-4 on Fedora 23 doesn't appear to have this issue either.
I've done a bit of testing of upstream docker HEAD (commit fff1511c56e35cf5230d05af2282d31d23a31dc0) and so far haven't been able to reproduce.
similar type of error:
Cannot start container 0cd17636f7334a0481053ceecc64851a1119e332ce8c0172c7de02a157e68018:  System error: open /sys/fs/cgroup/cpu,cpuacct/system.slice/docker-0cd17636f7334a0481053ceecc64851a1119e332ce8c0172c7de02a157e68018.scope/cpu.shares: no such file or directory
*** Bug 1302417 has been marked as a duplicate of this bug. ***
I did reproduce the similar error above on docker-1.9.1-4.git6ec29ef.fc23.x86_64 using the test case linked in the github issue.
Lokesh, I merged in mrunal fix, could you do another build.
Fixed in docker-1.9.1-14
The steps are fine for me in docker-1.9.1-23.el7.x86_64, move to verified
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.