Commit 26848758 by David Rossi

process log redirected to stdout

1 parent 7efb39a1
Showing with 5 additions and 3 deletions
FROM debian
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y openssh-server supervisor
RUN mkdir -p /var/run/sshd /var/log/supervisor
......
......@@ -2,7 +2,7 @@
## Questa immagine è un esempio per attivare un servizio (in questo caso sshd) tramite supervisord
# BUILD (esempio)
## - sudo docker build -t mysupervisord .
```sudo docker build -t mysupervisord .```
# RUN (esempio)
## - sudo docker run -ti --name buttami --rm -p 2022:22 -p 9001:9001 mysupervisord
```sudo docker run -ti --name buttami --rm -p 2022:22 -p 9001:9001 mysupervisord```
......@@ -3,6 +3,8 @@ nodaemon=true
[program:sshd]
command=/usr/sbin/sshd -D
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[unix_http_server]
file = /tmp/supervisor.sock
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!