Npm install having filesystem trouble on 1.11.2-beta15

This is possibly a duplicate of these other threads: #12590 #12640

(New user so I can’t link those :slight_smile: )

Feel free to close if this isn’t helpful.

Expected behavior

Running npm install to completion inside container.

Actual behavior

FS-related errors during npm install

Information

Diagnostic ID: C4EC29EA-9AFA-444F-84DC-2E5F9692C504 (all OK)

Host:
Darwin Jasons-MBP 14.5.0 Darwin Kernel Version 14.5.0: Mon Jan 11 18:48:35 PST 2016; root:xnu-2782.50.2 ~ 1 / RELEASE_X86_64 x86_64

The same commands work as expected under Docker 1.11.1 with virtualbox / boot2docker.

I haven’t tried on prior versions of Docker for Mac.

Steps to reproduce the behavior

  1. Run a bash shell inside the container
  2. Run npm install from that bash shell

Here are the outputs of two runs of npm install, the Dockerfile, docker-compose.yml, and package.json from codebase:

The forum is preventing me from including a link, but see github gist for jasonm/6473896a425923ae17f6e34d18e20957