compose-go
compose-go copied to clipboard
Pass UID and GID to compose
A lot of users and issues (https://github.com/docker/compose/issues/2380, https://github.com/docker/compose/issues/4725) of docker-compose faced with problem: how to pass UID and GID?
So where are some crutches like export UID
or UID=$UID docker-compose up
.
But finally it is possible to resolve onetime on the compose side and forever forget about it.
What do you think?
As I understood next step is to add function WithShellVariables
to https://github.com/docker/compose/blob/ca05ffe36ea889b08a9b68af413f8945e78ed867/cmd/compose/compose.go#L236
@glours @ndeloof @nicksieger Please make a review
Any movement on this?
@Shardj yes, look specification PR first https://github.com/compose-spec/compose-spec/pull/282
Closed without comments, thanks
my bad, the reason and I moved branches to prepare compose-go/v2 module. Feel free to re-create your PR. But maybe we should first discuss this as a feature request: why would you want your container to run with same user as your (client-side) user?