nvm icon indicating copy to clipboard operation
nvm copied to clipboard

docs: add docker tips

Open cdaringe opened this issue 5 years ago • 1 comments

Problem

It's common to install node in docker, and using NVM is quite helpful in this regard. Installing and using NVM isn't always. straightforward.

Solution

Make it easier for users to setup nvm in docker by droppin' some docs.

Ref: https://stackoverflow.com/questions/25899912/how-to-install-nvm-in-docker

cdaringe avatar Oct 11 '20 18:10 cdaringe

@ljharb , I'm open to your suggestion, but those docker files fundamentally are for a different intent. Those are for running a first-class NVM image, where the above instructions teach the user how to make any image a NVM image. Implicitly, those docker files do the required work, but they do so with noise interspersed, and without a clear focus on the requirements to make NVM work in any image. Perhaps simply sprinkling on some extra verbage with reference to those would be useful? I don't think references to those alone are the correct solve.

cdaringe avatar Oct 11 '20 22:10 cdaringe