Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cowrie log files with docker-compose #30

Open
madeere opened this issue Aug 3, 2022 · 1 comment
Open

Cowrie log files with docker-compose #30

madeere opened this issue Aug 3, 2022 · 1 comment

Comments

@madeere
Copy link

madeere commented Aug 3, 2022

I am trying to persist the cowrie log files running on docker. My docker compose file is:

honey:
image: cowrie/cowrie:latest
restart: always
ports:
- "2222:2222"
- "2223:2223"
volumes:
- "./logs:/var"
- ./configs:/etc"

The etc folder is correctly mapped, however, the var folder is empty. I did not touch the cowrie.cfg configuration file at the moment. What am I missing?

@nickmartin1ee7
Copy link

What you're looking for is this directory.

volumes:
  - ./logs:/cowrie/cowrie-git/var
  - ./configs:/cowrie/cowrie-git/etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants