Public | Automated Build

Last pushed: 20 hours ago
Short Description
fluentd-ui (https://github.com/fluent/fluentd-ui) on Debian sid amd64
Full Description




about minimum2scp/fluentd-ui image

start container

docker run -d -p 10080:80 minimum2scp/fluentd-ui

and then open http://localhost:10080/ or http://<container ip address>/ by browser.

The default account is username: "admin", password: "changeme".

ssh login to container

ssh login to container:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no debian@<container IP address>

or use published port:

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p <published ssh port> debian@localhost
  • user "debian" is available
  • password is "debian"
  • user "debian" can use sudo command without password
  • id debian: uid=2000(debian) gid=2000(debian) groups=2000(debian),4(adm),27(sudo)

processes

debian@bc44ac497e02:~$ ps -ef fww
UID        PID  PPID  C STIME TTY      STAT   TIME CMD
root         1     0  0 00:15 ?        Ss     0:00 init [2]
root       577     1  2 00:15 ?        Ssl    0:00 /usr/sbin/rsyslogd
root       602     1  0 00:15 ?        Ss     0:00 /usr/sbin/cron
root       613     1  0 00:15 ?        Ss     0:00 nginx: master process /usr/sbin/nginx
www-data   614   613  0 00:15 ?        S      0:00  \_ nginx: worker process
www-data   615   613  0 00:15 ?        S      0:00  \_ nginx: worker process
www-data   616   613  0 00:15 ?        S      0:00  \_ nginx: worker process
www-data   617   613  0 00:15 ?        S      0:00  \_ nginx: worker process
root       626     1  0 00:15 ?        Ss     0:00 /usr/sbin/sshd
root       681   626  0 00:15 ?        Ss     0:00  \_ sshd: debian [priv]
debian     701   681  0 00:15 ?        S      0:00      \_ sshd: debian@pts/0
debian     737   701  0 00:15 pts/0    Ss     0:00          \_ -bash
debian     855   737  0 00:16 pts/0    R+     0:00              \_ ps -ef fww
root       632     1  0 00:15 ?        Ss     0:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
td-agent   683   632 40 00:15 ?        Rl     0:01  \_ /usr/bin/ruby2.3 bin/rails s Puma -e production -p 9292
td-agent   659     1  0 00:15 ?        Sl     0:00 /opt/td-agent/embedded/bin/ruby /usr/sbin/td-agent --log /var/log/td-agent/td-agent.log --daemon /var/run/td-agent/td-agent.pid
td-agent   662   659  5 00:15 ?        Sl     0:00  \_ /opt/td-agent/embedded/bin/ruby /usr/sbin/td-agent --log /var/log/td-agent/td-agent.log --daemon /var/run/td-agent/td-agent.pid

ports

  • TCP/22: sshd
  • TCP/80: nginx
  • TCP/8888: td-agent (type http)
  • TCP/9001: supervisor
  • TCP/9292: fluentd-ui (rails s Puma)
  • TCP/9292: fluentd-ui (rails s Puma)
  • TCP/24224: td-agent (type forward)
  • TCP/24230: td-agent (type debug_agent)

fluentd-ui

  • installed in /opt/fluentd-ui
  • installed by git clone, and run bundle install
  • default account is "admin", and password is "changeme"
  • fluentd-ui process is running by "td-agent" user to read/write td-agent config file, log file, pid file

td-agent

Docker Pull Command
Owner
minimum2scp
Source Repository

Comments (3)
rahmanusta
2 months ago

I'm getting 502 Bad Gateway error when I open http://localhost:10080/ . What can be the problem?

minimum2scp
a year ago

ssato, sorry for too late response.

Maybe it was fixed by https://github.com/minimum2scp/dockerfiles/pull/128.
(But I rarely use this image, so this image is not well maintenanced...)

ssoto
2 years ago

The admin website http://localhost:10080 shows me that amazing message:

Puma caught this error: Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml` (RuntimeError)
/home/debian/.gem/ruby/2.1.0/gems/railties-4.1.4/lib/rails/application.rb:452:in `validate_secret_key_config!'
/home/debian/.gem/ruby/2.1.0/gems/railties-4.1.4/lib/rails/application.rb:195:in `env_config'
/home/debian/.gem/ruby/2.1.0/gems/railties-4.1.4/lib/rails/engine.rb:510:in `call'
/home/debian/.gem/ruby/2.1.0/gems/railties-4.1.4/lib/rails/application.rb:144:in `call'
/home/debian/.gem/ruby/2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
/home/debian/.gem/ruby/2.1.0/gems/puma-2.13.4/lib/puma/server.rb:541:in `handle_request'
/home/debian/.gem/ruby/2.1.0/gems/puma-2.13.4/lib/puma/server.rb:388:in `process_client'
/home/debian/.gem/ruby/2.1.0/gems/puma-2.13.4/lib/puma/server.rb:270:in `block in run'
/home/debian/.gem/ruby/2.1.0/gems/puma-2.13.4/lib/puma/thread_pool.rb:106:in `call'
/home/debian/.gem/ruby/2.1.0/gems/puma-2.13.4/lib/puma/thread_pool.rb:106:in `block in spawn_thread'