When I launch the docker image, the artifact directory that I mount gets root permission. I want artifacts to have the same resolution as the user. Is it possible to pass the user as an argument when launching the docker image so that it creates a catalog of artifacts with a specific user permission?
This is how I launch docker:
docker run --cap-add SYS_ADMIN --security-opt apparmor:unconfined -it -v /home/artifacts:/artifacts dock_img drwxr-xr-x 2 root root 4.0K Nov 16 13:58 artifacts
Since this artifact receives root permission, I cannot process it from my login. Can someone help me in solving this problem?
user5154816
source share