docker run --volume $(pwd):/app ride-path-png sh -c 'node index.js' Reference: https://github.com/pshihn/puppet-canvas https://gigi.nullneuron.net/gigilabs/running-puppeteer-under-docker/