Beta13 volume bind mounts intermittently error on access with 'bad file descriptor'

Intermittenly (approx. 50% of the time), when mounting a folder from /Mac/var/folders/mf… and then accessing a file inside that folder, an error results of ‘bad file descriptor’ from the accessing program, even though direct access to the files (outside of docker) is ok.

Expected behavior

Conststent successful access to volume mounts, as was the case before beta13.

Actual behavior

Errors approx. 50% of the time. ‘bad file descriptor’

Information

  • pinata diagnose -u on OSX: everything [OK].
  • host: OS X 10.11.4
  • docker in

Steps to reproduce the behavior

  1. create temp directory on host and fill with dirs
  2. create container and mount temp directory to container path ‘/test-tempdir’
  3. read files inside container at ‘/test-tempdir’
2 Likes

Looks like I’m seeing the same thing.

Is there any way for me to downgrade to the previous version? I’m hitting this 100% of the time and can no longer develop.

Yep, the old version will be in your trash. Just quit the docker app,
delete docker.app and move the most recent docker.app from your trash to
Applications. Then start docker.app again.

Deleted that. :-\ Found a version of beta11 elsewhere on the forum though!

I can confirm I fixed this on my mac by downgrading from beta 13 to beta 12

Same thing here. I’m also seeing occasional “ERROR: Bad response from Docker engine” messages that I’ve never seen before. How do you downgrade to the previous beta if it’s not in the trash?

Hey man you still happen to have that installation dmg? On beta 11 right now, but would be willing to upgrade to 12 since that was still working for me. Just lost the dmg.

You can find beta11 here: Downgrade to Docker for Mac beta 11

How did you downgrade? Is there a way to locate earlier Beta releases?

looks like this may have been fixed with v13.1 hotfix that is available through automatic update. Anyone confirm?

Hi Pete,

We believe this is fixed in Beta 13.1 hotfix. Please report back here if you still see this issue on that version.

Thanks,

David

sorry, just saw this. I guess you already found a fix in the latest update.