Description of problem: On Fedora 20, /bin is a symlink to usr/bin. When Dockerfile tries to ADD file to /bin, the process will hang, with the daemon spinning at 100 % CPU. Version-Release number of selected component (if applicable): docker-io-0.11.1-1.fc20.x86_64 Seen on 0.10* as well. How reproducible: Deterministic. Steps to Reproduce: 1. echo test > testfile 2. have Dockerfile with FROM fedora:20 ADD testfile /bin/testfile 3. run docker build -t test-symlink . Actual results: Uploading context 4.608 kB Uploading context Step 0 : FROM fedora:20 ---> b7de3133ff98 Step 1 : ADD testfile /bin/testfile and that's it, top in another terminal shows Expected results: # docker build -t test-symlink . Uploading context 5.632 kB Uploading context Step 0 : FROM fedora:20 ---> b7de3133ff98 Step 1 : ADD testfile /bin/testfile ---> 6fb52b6363f7 Removing intermediate container 11254a256eb7 Successfully built 6fb52b6363f7 # Additional info: ADD to /usr/bin/testfile works.
I should add: it is a regression against docker-io-0.9 so it has the potential of hitting people who were happily using ADD to /bin in the past.
Could you check if this is fixed in docker-io-0.11.1-2.fc20
(In reply to Daniel Walsh from comment #2) > Could you check if this is fixed in docker-io-0.11.1-2.fc20 I don't see this fixed with docker-io-0.11.1-3.fc20.x86_64.
Issue is fixed in upstream - build of their Git master does not have this issue. I'll identify the patch so we can carry it until the next upstream release.
Well we should be rebasing as soon as they release. Rather then carry the patch.
This is fixed in docker-io-1.0.0-1, which just made it into updates-testing.
I confirm the issue fixed.