potiuk commented on PR #35905: URL: https://github.com/apache/airflow/pull/35905#issuecomment-1829608749
Just want to get to the bottom of the weird UID - I think that could have actually be the case with ROOTLESS_DOCKER - because there there is user remapping going on under-the hood - and depending on the rootles docker solution (there are slight differences in podman, docker-desktop configured in rootless mode and colima) The important thing in this case is that we do not have to do two thing in ROOTLESS_DOCKER: 1) we do not have to change ownership of files (and even cannot because HOST_UID has different meaning in-docker than out-docker (the UIDs are remapped) 2) we do not have to fix ownership of created files, because the user we run with by default is usually remapped from the original user from the host, so we should not even attempt to fix the ownership of the files when exiting the container. We are allready doing the lattter in breeze, but likely I will have to take a look if there are other places where it we might have similar problems. Rootless docker is gaining populrity as this is quite a bit more secure way of running docker containers and many of the solution (no docker-desktop yet) start to switch to it by default, so we might want to make sure it is the first-class-citizen for Breeze as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
