Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

group_add with numeric IDs doesn't work #738

Open
2 tasks done
tomaskir opened this issue Feb 17, 2025 · 0 comments
Open
2 tasks done

group_add with numeric IDs doesn't work #738

tomaskir opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@tomaskir
Copy link

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

Hello, it seems Dockge doesn't support number / integer declarations for group_add in the compose file.

group_add:
  - 999

This results in complete inability to use / see the entire stack.

Please see below for more info.

👟 Reproduction steps

Here is an example compose to reproduce:

services:
  dozzle:
    container_name: dozzle
    image: amir20/dozzle
    user: 802:802
    group_add:
      - 999
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
    ports:
      - 127.0.0.1:8080:8080

👀 Expected behavior

This should work and not break Dockge :)

😓 Actual Behavior

In Terminal, an error can be seen:

1 error(s) decoding:

* 'group_add[0]' expected type 'string', got unconvertible type 'int', value: '999'

Containers have N/A state, Bash for container doesn't work, etc.

Dockge Version

1.4.2

💻 Operating System and Arch

Ubuntu 22.04

🌐 Browser

Firefox

🐋 Docker Version

27.5.0

🟩 NodeJS Version

No response

📝 Relevant log output

@tomaskir tomaskir added the bug Something isn't working label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant