Is there an existing issue for this?
Current Behavior
Dear Linuxserver support Team,
I may have uncovered an issue with your docker-brave browser such that it seems that the PUID environment variable is ignored and a default value of 911 is assigned when running the container (see my compose file below):
Expected Behavior
Value assigned to PUID should be reflected in the docker log.
Steps To Reproduce
- Deploy a stack through Portainer using the default config from https://docs.linuxserver.io/images/docker-brave/#usage:
---
services:
brave:
image: lscr.io/linuxserver/brave:latest
container_name: brave
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
volumes:
- /path/to/config:/config
ports:
- 3000:3000
- 3001:3001
shm_size: "1gb"
restart: unless-stopped
- Notice that the
PUID value is set to 911 whatever is defined within the PUID environment variable
Environment
- OS: Ubuntu 24.04.2 LTS
- How docker service was installed: Not sure, but container is deployed through Portainer 2.27.9 LTS
CPU architecture
x86-64
Docker creation
brave:
image: lscr.io/linuxserver/brave:latest
container_name: brave
privileged: true
devices:
- "/dev/dri:/dev/dri"
environment:
- PUID=1000
- PGID=1000
- CUSTOM_PORT=3002
- TZ="TZ=Europe/Zurich"
volumes:
- /home/Docker/appdata/Brave:/config
ports:
- 3002:3002
- 3001:3001
shm_size: "1gb"
restart: unless-stopped
Container logs
[migrations] started
[migrations] no migrations found
usermod: user abc is currently used by process 56
usermod: user abc is currently used by process 56
usermod: no changes
───────────────────────────────────────
██╗ ███████╗██╗ ██████╗
██║ ██╔════╝██║██╔═══██╗
██║ ███████╗██║██║ ██║
██║ ╚════██║██║██║ ██║
███████╗███████║██║╚██████╔╝
╚══════╝╚══════╝╚═╝ ╚═════╝
Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID: 911
User GID: 1000
───────────────────────────────────────
Linuxserver.io version: 1.80.122-ls21
Build-date: 2025-07-17T14:57:11+00:00
───────────────────────────────────────
**** creating video group videork27 with id 993 ****
**** adding /dev/dri/renderD128 to video group videork27 with id 993 ****
**** adding /dev/dri/card0 to video group video with id 44 ****
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
screen 0 shmid 0
[ls.io-init] done.
time="2025-07-18T05:48:09.261629779Z" level=error msg="failed to mount overlay: invalid argument" storage-driver=overlay2
chmod: cannot access '/tmp/selkies*': No such file or directory
Is there an existing issue for this?
Current Behavior
Dear Linuxserver support Team,
I may have uncovered an issue with your
docker-bravebrowser such that it seems that thePUIDenvironment variable is ignored and a default value of911is assigned when running the container (see my compose file below):Expected Behavior
Value assigned to
PUIDshould be reflected in the docker log.Steps To Reproduce
PUIDvalue is set to 911 whatever is defined within thePUIDenvironment variableEnvironment
CPU architecture
x86-64
Docker creation
brave: image: lscr.io/linuxserver/brave:latest container_name: brave privileged: true devices: - "/dev/dri:/dev/dri" environment: - PUID=1000 - PGID=1000 - CUSTOM_PORT=3002 - TZ="TZ=Europe/Zurich" volumes: - /home/Docker/appdata/Brave:/config ports: - 3002:3002 - 3001:3001 shm_size: "1gb" restart: unless-stoppedContainer logs
[migrations] started [migrations] no migrations found usermod: user abc is currently used by process 56 usermod: user abc is currently used by process 56 usermod: no changes ─────────────────────────────────────── ██╗ ███████╗██╗ ██████╗ ██║ ██╔════╝██║██╔═══██╗ ██║ ███████╗██║██║ ██║ ██║ ╚════██║██║██║ ██║ ███████╗███████║██║╚██████╔╝ ╚══════╝╚══════╝╚═╝ ╚═════╝ Brought to you by linuxserver.io ─────────────────────────────────────── To support LSIO projects visit: https://www.linuxserver.io/donate/ ─────────────────────────────────────── GID/UID ─────────────────────────────────────── User UID: 911 User GID: 1000 ─────────────────────────────────────── Linuxserver.io version: 1.80.122-ls21 Build-date: 2025-07-17T14:57:11+00:00 ─────────────────────────────────────── **** creating video group videork27 with id 993 **** **** adding /dev/dri/renderD128 to video group videork27 with id 993 **** **** adding /dev/dri/card0 to video group video with id 44 **** [custom-init] No custom files found, skipping... _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. screen 0 shmid 0 [ls.io-init] done. time="2025-07-18T05:48:09.261629779Z" level=error msg="failed to mount overlay: invalid argument" storage-driver=overlay2 chmod: cannot access '/tmp/selkies*': No such file or directory