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

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

Open
Bajiio opened this issue Feb 8, 2024 · 1 comment
Open

Comments

@Bajiio
Copy link

Bajiio commented Feb 8, 2024

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

@Bajiio
Copy link
Author

Bajiio commented Feb 8, 2024

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 ?

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

1 participant