DinoTools / dionaea-docker

16 stars 6 forks source link

Docker won't start #6

Closed harperaa closed 7 years ago

harperaa commented 7 years ago

It looks like you may be working on this at this time, as the hub.docker.com file was just pushed two days ago, but the Docker does not run: root@kali:~# docker run -it --rm -v "$PWD/etc":/opt/dionaea/etc/dionaea -p 21:21 -p 42:42 -p 69:69/udp -p 80:80 -p 135:135 -p 443:443 -p 445:445 -p 1433:1433 -p 1723:1723 -p 1883:1883 -p 1900:1900/udp -p 3306:3306 -p 5060:5060 -p 5060:5060/udp -p 5061:5061 -p 11211:11211 dinotools/dionaea-docker:latest 2017-08-13 02:16:50,989 CRIT Supervisor running as root (no user in config file) 2017-08-13 02:16:50,990 WARN Included extra file "/etc/supervisor/conf.d/dionaea.conf" during parsing 2017-08-13 02:16:50,990 WARN Included extra file "/etc/supervisor/conf.d/p0f.conf" during parsing 2017-08-13 02:16:51,003 INFO RPC interface 'supervisor' initialized 2017-08-13 02:16:51,004 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2017-08-13 02:16:51,004 INFO supervisord started with pid 1 2017-08-13 02:16:52,007 INFO spawned: 'dionaea' with pid 7 2017-08-13 02:16:52,010 INFO spawned: 'p0f' with pid 8 2017-08-13 02:16:52,025 INFO exited: dionaea (terminated by SIGTRAP (core dumped); not expected) 2017-08-13 02:16:53,028 INFO spawned: 'dionaea' with pid 9 2017-08-13 02:16:53,029 INFO success: p0f entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2017-08-13 02:16:53,036 INFO exited: dionaea (terminated by SIGTRAP (core dumped); not expected) 2017-08-13 02:16:55,041 INFO spawned: 'dionaea' with pid 10 2017-08-13 02:16:55,049 INFO exited: dionaea (terminated by SIGTRAP (core dumped); not expected) 2017-08-13 02:16:58,057 INFO spawned: 'dionaea' with pid 11 2017-08-13 02:16:58,065 INFO exited: dionaea (terminated by SIGTRAP (core dumped); not expected) 2017-08-13 02:16:59,067 INFO gave up: dionaea entered FATAL state, too many start retries too quickly

harperaa commented 7 years ago

Found my problem, did not have data directories set up, this fixed it (from /bin/bash of docker): mkdir -p /data/dionaea/log /data/dionaea/bistreams /data/dionaea/binaries /data/dionaea/rtp /data/dionaea/roots/ftp /data/dionaea/roots/tftp /data/dionaea/roots/www /data/dionaea/roots/upnp

holdlg commented 6 years ago

The same problem has not been solved. How to do?