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.

  • ASP.NET 5: docker build with multi-projects solution
  • Add Docker registry certificate to Docker application on my Mac
  • Routing to different container in docker using zuul not working
  • Specifying superuser PostgreSQL password for a Docker Container
  • Docker Architecture for a test server
  • Where does Elixir/erlang fit into the microservices approach? [closed]
  • 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": ""

  • How to detach from docker container running within another container
  • amazon beans talk docker Failed to build Docker image aws_beanstalk/staging-app not a directory
  • Docker port forwarding between container and host
  • What is the proper endpoint for connecting to azure container service swarm cluster from c#
  • Create a volume in docker from windows host
  • How to setup HTTP Routing Mesh (HRM) in docker datacenter community edition?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.