GoSecure / pyrdp

RDP monster-in-the-middle (mitm) and library for Python with the ability to watch connections live or after the fact

Home Page:https://www.gosecure.net/blog/2020/10/20/announcing-pyrdp-1/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image error: Mounting volumes to retrieve logs doesn't work

Bajiio opened this issue · comments

Hello,
I'm trying to deploy the docker image and works like a charm. But now I'm trying to mount a volumes to retrieve the logs on my host and it doesn't work. The dockerfile image doesn't seems to include this option so when I'm creating a volume and try to mount it in "/home/pyrdp/pyrdp_output" it mounts with the UID and GID 2000:2000, which doesn't correspond to any user. In result, the pyrdp user which is running pyrdp-mitm can't write in any of the log files.
I tried differents things to fix it, but at the end it seems like it should be fixed from the dockerfile itself. Does anyone already had this kind of problem ?
Here is the proof:
image
Here is my docker-compose file
image

Edit: I know that the dockerfile use "/home/pyrdp/log" as volume but it still the same problem for me

I know It's because my docker user is not with a GID and UID of 1000, but shouldn't be a thing to change that ?