You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to pass --user option to run orchestrated containers under my own UID. This is mostly because of mounted host volumes, and I'd like the dockerized app to generate files owned by me, not the root.
With docker-compose up, this is not possible, at least not directly. Right now I'm using a crazy workaround:
NAME=`compose run -d --user="$UID" someservicename`
docker rename $NAME${NAME/_run/}
which is suboptiomal, to be gentle.
g8d3, dminca, ankitrg, lexmercenery, talJoffeExelate and 124 morearturadib, nmvega, sypets, ikbelkirasan, ke20 and 8 moreivanaugustobd