root@dc02 /home/kunthar/tsung_test # docker run -e "ERL_SSH_PORT=22" -p 8091:8091 -v /home/kunthar/tsung_test:/usr/local/tsung ddragosd/tsung-docker:latest -f /usr/local/tsung/mytest.xml -k start Generating SSH2 RSA host key: [ OK ]
Generating SSH1 RSA host key: [ OK ]
Generating SSH2 DSA host key: [ OK ]
Starting sshd: [ OK ]
Starting crond: [ OK ]
Tsung log directory should be 20160530-1419
Executin tsung -l /usr/local/tsung/ -f /usr/local/tsung/mytest.xml -k start ...
/usr/bin/tsung: illegal option -- k
Usage: tsung start|stop|debug|status
Options:
-f set configuration file (default is ~/.tsung/tsung.xml)
(use - for standard input)
-l set log directory where YYYYMMDD-HHMM dirs are created (default is ~/.tsung/log/)
-i set controller id (default is empty)
-r set remote connector (default is ssh)
-s enable erlang smp on client nodes
-p set maximum erlang processes per vm (default is 250000)
-m write monitoring output on this file (default is tsung.log)
(use - for standard output)
-F use long names (FQDN) for erlang nodes
-w warmup delay (default is 1 sec)
-v print version information and exit
-6 use IPv6 for Tsung internal communications
-x list of requests tag to be excluded from the run (separated by comma)
-h display this help and exit
/usr/bin/tsung-runner: line 29: cd: /usr/local/tsung/20160530-1419/: No such file or directory
root@dc02 /home/kunthar # docker pull ddragosd/tsung-docker
root@dc02 /home/kunthar/tsung_test # docker run -e "ERL_SSH_PORT=22" -p 8091:8091 -v /home/kunthar/tsung_test:/usr/local/tsung ddragosd/tsung-docker:latest -f /usr/local/tsung/mytest.xml -k start
Generating SSH2 RSA host key: [ OK ] Generating SSH1 RSA host key: [ OK ] Generating SSH2 DSA host key: [ OK ] Starting sshd: [ OK ] Starting crond: [ OK ] Tsung log directory should be 20160530-1419 Executin tsung -l /usr/local/tsung/ -f /usr/local/tsung/mytest.xml -k start ... /usr/bin/tsung: illegal option -- kUsage: tsung start|stop|debug|status
Options:
-f set configuration file (default is ~/.tsung/tsung.xml)
(use - for standard input)
-l set log directory where YYYYMMDD-HHMM dirs are created (default is ~/.tsung/log/)
-i set controller id (default is empty)
-r set remote connector (default is ssh)
-s enable erlang smp on client nodes
-p set maximum erlang processes per vm (default is 250000)
-m write monitoring output on this file (default is tsung.log)
(use - for standard output)
-F use long names (FQDN) for erlang nodes
-w warmup delay (default is 1 sec)
-v print version information and exit
-6 use IPv6 for Tsung internal communications
-x list of requests tag to be excluded from the run (separated by comma)
-h display this help and exit
/usr/bin/tsung-runner: line 29: cd: /usr/local/tsung/20160530-1419/: No such file or directory