How to share ownership of mounted directory on docker?

This is the ID of user and group dgx_user6. You see the numbers because they don’t exist in the container. Your file and folders are writable only by dgx_user6 (0644 and 0755) and the container runs under another user. In the error you see that the application tries to write into folder results, so you have to make at least this one writable by anyone. And you have to to this on the host (where you are the owner), not in the container (where you are probably user with ID 1000).