Docker Community Forums

Share and learn in the Docker community.

Maximum length of docker labels for container or service


(Bitsofinfo) #1

What is the maximum number of characters permitted for a docker container/service --label length?


(Sam) #2

appears there is no length restriction


(Bitsofinfo) #3

Yes I read that prior to posting but it seems like an omission, one would think a limit would be stated (even if no limit)


(Sam) #4

I agree, but it does say that prior to some version, multiple labels consumed space, which makes it seem that very long labels were supported…