Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker compose linux +group_add uid sid

So, you need to put:

user: "${UID}:${GID}"
in your docker compose and provide UID and GID as docker-compose parameter

UID=${UID} GID=${GID} docker-compose up
(or define UID and GID as environment variables).
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #compose #linux #uid #sid
ADD COMMENT
Topic
Name
6+1 =