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 }}
Repository navigation
WORKSPACE_PUID ignored when building workspace container #3649
When building the workspace container with a custom WORKSPACE_PUID value, the resulting laradock user is still created with UID 1000, regardless of the specified value.
This seems to be caused by the conditional user creation logic introduced as a workaround for PHP 8.x images: #3638 (comment)
As a result, the custom PUID and PGID environment variables are ignored for PHP versions greater than 8.0.
Expected Behavior:
The laradock user and group should be created with the UID and GID specified in .env, for all supported PHP versions
Context information:
Output of git rev-parse HEAD
41664649eba71c1fba9631834b2b3f1f9bd45d11
Output of docker version
Docker version 27.0.3, build 7d4bcd8
System info: Mac, Windows or Linux. Include which disto/version
Fixed by #3693 (merged in 585621c). The workspace Dockerfile now passes -g ${PGID} to groupmod and -u ${PUID} to usermod on PHP 8.1+, so PUID/PGID env vars are respected. Please re-build your workspace container (docker compose build --no-cache workspace) and reopen if the issue persists.
Activity
Mahmoudz commentedon May 26, 2026
Fixed by #3693 (merged in 585621c). The workspace Dockerfile now passes
-g ${PGID}togroupmodand-u ${PUID}tousermodon PHP 8.1+, so PUID/PGID env vars are respected. Please re-build your workspace container (docker compose build --no-cache workspace) and reopen if the issue persists.