-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain the npm verbosity in the node image #113
Explain the npm verbosity in the node image #113
Conversation
540ee32
to
f8c7511
Compare
LGTM |
LGTM |
@@ -53,6 +53,45 @@ $ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/app -w | |||
/usr/src/app node:4 node your-daemon-or-script.js | |||
``` | |||
|
|||
## Verbosity | |||
|
|||
By default Node.js Docker Image has NPM log verbosity set to `verbose` instead |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
One small nit, but other-wise looks good |
By default Node.js Docker Image has NPM log verbosity set to `verbose` instead | ||
of the default `warn`. This is because of the way Docker is isolated from the | ||
host operating system and you are not guaranteed to be able to retrieve the | ||
`npm-debug.log` file when something breaks. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
I think the technical sections are 🔥 I think we need to explain the rationale behind the decision in terms newcomers to both Docker and Node will understand while striking a balance with being technically correct. |
31203ab
to
87bf354
Compare
I have incorporated the feedback and added a section to explain the rationale behind the decision of changing the verbosity level of npm. Feel free to nitpick 😄 |
Close: nodejs#57 Related: nodejs/docker-iojs#36 Signed-off-by: Hans Kristian Flaatten <[email protected]>
87bf354
to
95a5dd9
Compare
LGTM! |
Merging this as it's gone 5 months without objection |
PR-URL #2997 Related: nodejs/node#12220 nodejs/docker-node#411 nodejs/docker-node#412 nodejs/docker-node#113 Signed-off-by: Hans Kristian Flaatten <[email protected]>
Attempts to explain the rationale behind the
NPM_CONFIG_LOGLEVEL
.Close: #57
Related: nodejs/docker-iojs#36
Signed-off-by: Hans Kristian Flaatten [email protected]