Manage Docker Container labels #56

Closed
opened 2026-02-05 17:05:22 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @lancepioch on GitHub (May 17, 2024).

Originally assigned to: @iamkubi on GitHub.

Discussed in https://github.com/pelican-dev/panel/discussions/11

Originally posted by DaniDipp April 12, 2024
I would like to see better management of the docker containers - especially being able to modify the container name, environment variables and labels.
The labels especially would be great for integration with my traefik reverse proxy.

Originally created by @lancepioch on GitHub (May 17, 2024). Originally assigned to: @iamkubi on GitHub. ### Discussed in https://github.com/pelican-dev/panel/discussions/11 <div type='discussions-op-text'> <sup>Originally posted by **DaniDipp** April 12, 2024</sup> I would like to see better management of the docker containers - especially being able to modify the container name, environment variables and labels. The labels especially would be great for integration with my traefik reverse proxy.</div>
OVERLORD added the 🔴 hard label 2026-02-05 17:05:22 +03:00
Author
Owner

@iamkubi commented on GitHub (May 20, 2024):

Container name and labels make sense. Environment variables can already be managed through egg variables.

@iamkubi commented on GitHub (May 20, 2024): Container name and labels make sense. Environment variables can already be managed through egg variables.
Author
Owner

@iamkubi commented on GitHub (Jun 2, 2024):

Labels work now.

kubi@pelican-dev:~/code/wings$ docker inspect -f "{{json .Config.Labels}}" 9896b3b9e423
{"ContainerType":"server_process","Service":"Pelican","author":"Michael Parker","ffff":"aa","maintainer":"parker@pterodactyl.io","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.source":"https://github.com/pterodactyl/yolks"}

Container name is required to be unique so making it configurable would require some more API and UI work to handle conflicts. The name is already set to the server UUID which is sufficient for identification, if not easily human readable.

@iamkubi commented on GitHub (Jun 2, 2024): Labels work now. ``` kubi@pelican-dev:~/code/wings$ docker inspect -f "{{json .Config.Labels}}" 9896b3b9e423 {"ContainerType":"server_process","Service":"Pelican","author":"Michael Parker","ffff":"aa","maintainer":"parker@pterodactyl.io","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.source":"https://github.com/pterodactyl/yolks"} ``` Container name is required to be unique so making it configurable would require some more API and UI work to handle conflicts. The name is already set to the server UUID which is sufficient for identification, if not easily human readable.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#56