-
Notifications
You must be signed in to change notification settings - Fork 950
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
docs: add doc to describe how to use pouch run --log-driver
#2677
Conversation
Codecov Report
|
ping @hellolijj something wrong here:
|
e40f82d
to
fa19a82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use git commit -s --amend --no-edit
and repush again. thanks
You can view the type of log driver by following commands | ||
|
||
``` | ||
pouch info | grep 'Logging Driver' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about using $
before the command? it can make the doc readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah 😄
|
||
You can view the default log driver for running containers by following commands | ||
|
||
pouch inspect 09092c -f {{.HostConfig.LogConfig}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this line since the following script show us. WDYT?
8e23608
to
81e11ae
Compare
Signed-off-by: Junjun Li <junjunli666@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
add doc to describe how to use
pouch run --log-driver
Ⅱ. Does this pull request fix one issue?
[help wanted][doc] add doc to describe how to use
pouch run --log-driver
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews