CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

Add docker labels

Open fvalle1 opened this issue 2 years ago • 9 comments

Is your feature request related to a problem? Please describe. I'm always frustrated when I cannot add labels to my containers

Describe the solution you'd like Add a label parameter as environment and ports

Describe alternatives you've considered deploy containers on my own

Additional context

fvalle1 avatar Nov 18 '23 15:11 fvalle1

Fully agree, this one is pretty much mandatory, using docker without labels is like having a car without breaks. You can use it and it works but you really don't want to use it.

Plarpoon avatar Dec 05 '23 00:12 Plarpoon

This feature would be really useful for using stuff like Traefik or in my case lucaslorentz/caddy-docker-proxy. I don't wanna expose apps on local ports like 127.0.0.1:3001, :3002, :3003 etc. and have to proxy requests to each port in an extra config file or web interface. I just want to modify the apps in Casa to have the caddy: my-app.domain.com caddy.reverse_proxy: "{{ upstreams 80}}" It just makes everything so much easier to set up

locomoco28 avatar Oct 05 '24 17:10 locomoco28

Any news about that?

EthraZa avatar Nov 12 '24 19:11 EthraZa

For anyone else hoping for a response on this, using Portainer is a means to an end until this becomes a feature.

coraunderhill avatar Nov 28 '24 20:11 coraunderhill

The issue with using Portainer in conjunction with CasaOS to manage the labels, is it seems that anytime I restart an app from the Casa Dashboard, it wipes my custom Labels that I assigned to the container in Docker. Anyone know a better way to configure them so they stick even when the container is restarted or recreated by Casa?

frostbytedata avatar Jan 11 '25 21:01 frostbytedata

+1 to this so I can use TSDproxy - https://almeidapaulopt.github.io/tsdproxy/docs/ It requires labels to trigger it to add the container to the tailnet.

rahjr42 avatar Mar 23 '25 17:03 rahjr42

I'd also like to request this.

mrpunkin avatar Mar 29 '25 01:03 mrpunkin

This is a highly needed feature.

david-w-t avatar Apr 07 '25 03:04 david-w-t

I'd also like to request this. Just installed Flame Dashboard and am unable to use Docker integration without using Portainer to add labels, and then have to remember to never restart a container directly through CasaOS. Seems like a much-needed feature.

skorpeyon avatar May 09 '25 12:05 skorpeyon