Docker Community Forums

Share and learn in the Docker community.

Mounting a Volume and accessing from Kitematic(Beta)

docker

(Cmelion) #1

Expected behavior

Access mount point in host filesystem by clicking on mounted folder link under “VOLUMES” in Kitematic(Beta)

Actual behavior

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 npm@2.15.1
npm info using node@v4.4.3
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

Information

  • the output of:

OS X: version 10.11.3 (build: 15D21)
Docker.app: version v1.11.1-beta10
Running diagnostic tests:
[OK] docker-cli
[OK] Moby booted
[OK] driver.amd64-linux
[OK] vmnetd
[OK] osxfs
[OK] db
[OK] slirp
[OK] menubar
[OK] environment
[OK] Docker
[OK] VT-x

Steps to reproduce the behavior

  1. Using https://hub.docker.com/r/cmelion/generator-ng2-webpack/~/dockerfile/
  2. docker run -t -i -p 32800:9000 cmelion/ng2webpack:v9
  3. View the running container in Kitematic
  4. 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.