Skip to content

Overide: docker run

Michael Kenney edited this page Mar 17, 2018 · 1 revision

A simple docker run solution that overrides the run-as-user script entirely.

$ docker run --rm -it \
    -v $(pwd):/src:rw \
    --entrypoint=npm \
    mkenney/npm:node-8-alpine install

About the run-as-user script

Public key access to private repositories

Specify UID and GID values

Override the run-as-user script entirely

Clone this wiki locally