gitlab-ci-local icon indicating copy to clipboard operation
gitlab-ci-local copied to clipboard

Name service containers by aliases

Open LimmaPaulus opened this issue 2 years ago • 1 comments

I had a hard time debugging why one of my service containers didn't start as expected. IntelliJ Docker GUI made this easier, but because I had quite a handful of services in my job, it wasn't too easy to find the correct one after startup.

image

It would be nice if each container got a name derived from the alias, maybe run ID or similar as a prefix

image

LimmaPaulus avatar Feb 11 '22 06:02 LimmaPaulus

When this feature is implemented, remember to test for docker's max hostname length limit.

Adding docker labels, could be a great compromise

firecow avatar Feb 11 '22 09:02 firecow