mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-17 15:47:14 +03:00
[REQUEST Docker image] Output log to stdout #2128
This commit is contained in:
parent
ef9a64cdd0
commit
922610f837
@ -114,6 +114,10 @@ COPY . /glances
|
||||
# EXPOSE PORT (XMLRPC / WebUI)
|
||||
EXPOSE 61209 61208
|
||||
|
||||
# Forward access and error logs to Docker's log collector
|
||||
RUN ln -sf /dev/stdout /tmp/glances-root.log \
|
||||
&& ln -sf /dev/stderr /var/log/error.log
|
||||
|
||||
WORKDIR /glances
|
||||
|
||||
# Define default command.
|
||||
|
Loading…
Reference in New Issue
Block a user