Open droberson opened 2 years ago
It's a filesystem permission issue.
I changed the docker-compose.yml volume definition to another location on the filesystem where I could give broader permissions and then it worked. Like this:
version: '2' services: ssh-honeypot: image: 'local/ssh-honeypot:latest' build: . ports:
- '22:2022' volumes:
- ${PWD}/ssh-honeypot-log:/home/honeycomb/log
- rsa:/home/honeycomb/rsa networks: default: restart: unless-stopped
volumes: log: driver: local rsa: driver: local
networks: default:
Got this error when dropping permissions. Also does not show the reason for the error:
[Thu Mar 3 16:58:40 2022] FATAL: Unable to open JSON log file: