Following the following guide from your documentation → [Authenticate to cloud services with user credentials | Astronomer Documentation](Authenticate to cloud services with user credentials)
I noticed that files specified in docker-compose.override.yml
are mounted with different users depending by the system it is launched in. On my linux machine astro dev start
exit with an error and docker keeps restarting the containers due to a permission denied error. When I check “/usr/local/airflow/gcloud/application_default_credentials.json” inside of the containers I noticed the owner is a number, the same number of my current user id in LInux.
On MacOs Docker the same file is owned by “astro” as it is supposed to be.
How can I manage to mount on linux that file in the container with the “astro” user too without changing user permission manually every time? Obviously I can’t use astro dev bash ...
because it is continuously restarting.