Skip to content

Files

Latest commit

author
Tommi Liittokivi
Mar 1, 2018
8b12dce · Mar 1, 2018

History

History
15 lines (13 loc) · 718 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 718 Bytes

Running node.js script:

docker run --rm \
 -e LOCAL_USER_ID=`id -u $USER`\
 -v ~/script_folder:/app \
  conmio/node:8-alpine node script.js

When LOCAL_USER_ID is passed to container, files written to volumes from within the container will be owned by that user.