This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 773
docs:add a question and answer about the log's time #666
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pouchrobot
added
areas/docs
areas/log
kind/question
all questions or confusion about this project
size/XS
labels
Jul 10, 2019
starnop
reviewed
Jul 10, 2019
FAQ.md
Outdated
## Why the time in the log is wrong | ||
|
||
If you are in China,docker container uses UTC time(Coordinated Universal Time) and the host uses CST time(China Shanghai Time).So the log's time is 8 hours behind the host time.If you want to make their time consistent, | ||
you should add a config `-v /etc/localtime:/etc/localtime:ro` before you start a container.For example,you can run this command `docker run -d --name dfclient -v /etc/localtime:/etc/localtime:ro -p 65001:65001 dragonflyoss/dfclient:0.4.0 --registry https://index.docker.io` to start a dfclient. |
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.
There's something wrong with the sentence break?
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.
@starnop I have modified.
Codecov Report
@@ Coverage Diff @@
## master #666 +/- ##
=========================================
- Coverage 48.23% 46.13% -2.1%
=========================================
Files 99 99
Lines 5896 5893 -3
=========================================
- Hits 2844 2719 -125
- Misses 2827 2949 +122
Partials 225 225
Continue to review full report at Codecov.
|
yunfeiyanggzq
force-pushed
the
FAQ
branch
2 times, most recently
from
July 10, 2019 11:06
6645b62
to
c61d073
Compare
Signed-off-by: yunfeiyangbuaa <[email protected]>
LGTM. |
starnop
added a commit
to starnop/Dragonfly
that referenced
this pull request
Nov 27, 2019
docs:add a question and answer about the log's time
inoc603
pushed a commit
to inoc603/Dragonfly
that referenced
this pull request
Dec 23, 2019
docs:add a question and answer about the log's time
sungjunyoung
pushed a commit
to sungjunyoung/Dragonfly
that referenced
this pull request
May 8, 2022
Signed-off-by: Jim Ma <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: yunfeiyangbuaa [email protected]
Ⅰ. Describe what this PR did
add a question and answer about the log's time
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗?)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews