Docker unable to mount volume with node app

I have create a local node express app and now I am trying to run the node app via Docker.

docker run -p 8080:3000 -v $(pwd):/var/www -w "/var/www" node npm start
npm info it worked if it ends with ok
npm info using npm@5.0.3
npm info using node@v8.1.2
npm ERR! path /var/www/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/var/www/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:

Host: MAC
Using Docket toolbox to create the container.

  • How do you setup an AWS Elastic Beanstalk Docker Platform running Django?
  • What is the purpose of VOLUME in Dockerfile
  • Cannot connect to MongoDB running in local Docker container
  • docker pull gets me the error: “Download failed, retrying: x509: certificate signed by unknown authority”
  • Docker-Compose: Composing with Dockerfiles that need relative imports
  • Can't pull image from docker repo
  • application runs locally but do not start via docker.

    Any idea?
    docker inspect <> Does show the mount

    "Mounts": [
                    "Type": "bind",
                    "Source": "/Jsapp/ExpressSite",
                    "Destination": "/var/www",
                    "Mode": "",
                    "RW": true,
                    "Propagation": ""

  • Can we mount sub-directories of a named volume in docker?
  • Running multiple projects using docker which each runs with docker-compose
  • execSync compilation failed with npm 3
  • processing notifications for image upload to docker registry
  • Securing docker containers
  • Docker container rake file error
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.