mirror of
https://github.com/nicolargo/glances.git
synced 2024-12-25 10:12:55 +03:00
[REQUEST Docker image] Output log to stdout #2128 (for debian)
This commit is contained in:
parent
922610f837
commit
c5246197da
@ -113,6 +113,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