Replies: 1 comment
-
/ Users/admin/go/SRC/goBoss/my_colly/my_github/zlog above the log/logs, I cut once a day, cause I have a task has been running, container log has been out of sync, need to synchronize after cutting, don't know if I know what I mean? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Regarding the issue of docker container log host being mounted to the container, how can docker host log contents be forcibly refreshed to the container log? When the host log is synchronized, the log files opened by the host are not closed, so the log files in the container will not be synchronized
For example the picture below
/ Users/admin/go/src/goBoss/my_colly/my_github/zlog/logs in the host machine have the data, trading, but in the/app/logs, Need to shut down my/Users/admin/go/SRC/goBoss/my_colly/my_github/zlog/logs log files, / app/logs to sync, but can you tell me how to solve?
Beta Was this translation helpful? Give feedback.
All reactions