When running docker run, the generated results are saved to a locally mounted directory, how to save these results in non-root mode?

After I packaged the docker container into an image, when running the image with docker, the generated result is saved to the mounted local directory, but when I want to move or modify the result, I find that the generated result has root permissions, which I don’t want The generated result is given root authority locally, what should I do?