A personal cheat sheet for running local Node project in a Docker container

June 27, 2017 ยท View on GitHub

Tips & tricks

Setup an alias to start Node container and map the current folder for quick isolated Linux environment. Add to ~/.alias file

# Creates Node container with mapped current folder and runs Bash shell
alias node-box='docker run -v $PWD:/src -w /src -u node -it node /bin/bash'

Additional information