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
{{ message }}
This repository was archived by the owner on Dec 14, 2023. It is now read-only.
Which on Centos 7 at least results in: -bash: UID: readonly variable
and then docker-compose fails with:
Step 10/12 : RUN useradd --groups www-data,root --uid $DOCKER_UID --create-home $USER
---> Running in a0ac44e61fae
useradd: UID 0 is not unique
So two problems, UID exists already and reseting won't do any difference and
the containers seems to be expected to run as non-root so the documentation needs to clarify this.
You could do something like this:
and update docker-compose.yml with PROBIND_USER_UID.
Then dont forget to chown -R the git directory with PROBIND_USER_UID, depending on how you run your compose.
The instructions says
Which on Centos 7 at least results in:
-bash: UID: readonly variableand then docker-compose fails with:
So two problems, UID exists already and reseting won't do any difference and
the containers seems to be expected to run as non-root so the documentation needs to clarify this.
You could do something like this:
useradd docker-probind
export PROBIND_USER_UID=$(id -u docker-probind)
and update docker-compose.yml with PROBIND_USER_UID.
Then dont forget to chown -R the git directory with PROBIND_USER_UID, depending on how you run your compose.