with the same permissions of the Linux machine? Eh: I have the user foo on the Linux machine, when I generate a file within the docker container (access via sudo docker exec -it mycontainer sh) this have the root user and root group, so I can't edit it on the Linux machine. I need to chown the file each time with the user foo. Is there a way to fix that???
Use rootless docker or podman
How can I make docker rootless now?
https://docs.docker.com/engine/security/rootless/
Обсуждают сегодня