This repository contains the necessary files to create a dockerized version of cowrie.
This dockerized version is part of the T-Pot community honeypot of Deutsche Telekom AG.
Dockerfile contains the blueprint for the dockerized cowrie and will be used to setup the docker image.
cowrie.cfg is tailored to fit the T-Pot environment.
setup.sql is also tailored to fit the T-Pot environment.
supervisord.conf is used to start cowrie under supervision of supervisord.
Using systemd, copy the
/etc/systemd/system/cowrie.service and start using
systemctl enable cowrie systemctl start cowrie
This will make sure that the docker container is started with the appropriate permissions and port mappings. Further, it autostarts during boot.
By default all data will be stored in
/data/cowrie/ until the honeypot service will be restarted which is by default every 24 hours. If you want to keep data persistently simply edit the
service file, find the line that contains
clean.sh and set the option from
on. Be advised to establish some sort of log management if you wish to do so.