```sh docker run \ --rm \ `(for line in \`cat ~/.npmrc\`; do echo -n "-e npm_config_$line "; done)` \ ... ``` <sub>Reference: http://stackabuse.com/the-ultimate-guide-to-configuring-npm/</sub>