panel icon indicating copy to clipboard operation
panel copied to clipboard

Manage Docker Container labels

Open lancepioch opened this issue 1 year ago • 1 comments

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.

lancepioch avatar May 17 '24 19:05 lancepioch

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

iamkubi avatar May 20 '24 00:05 iamkubi

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":"[email protected]","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 avatar Jun 01 '24 21:06 iamkubi