Access mount point in host filesystem by clicking on mounted folder link under “VOLUMES” in Kitematic(Beta)
Host folder is empty other than an npm-debug.log.
webserver is no-longer accessible and container has to be removed, restart has no effect.
The console shows:
npm info it worked if it ends with ok
npm info using email@example.com
npm info using firstname.lastname@example.org
npm ERR! Linux 4.4.6-moby
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” "docker-server"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! path /home/yeoman/client/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/yeoman/client/package.json’
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/yeoman/client/npm-debug.log
- the output of:
OS X: version 10.11.3 (build: 15D21)
Docker.app: version v1.11.1-beta10
Running diagnostic tests:
[OK] Moby booted
Steps to reproduce the behavior
- Using https://hub.docker.com/r/cmelion/generator-ng2-webpack/~/dockerfile/
- docker run -t -i -p 32800:9000 cmelion/ng2webpack:v9
- View the running container in Kitematic
- Click the Volume/Folder (/home/yeoman)
As an alternative to steps 1 & 2, use create new container from Kitematic using the repo associated with the above Dockerfile.