microsoft / service-fabric

Service Fabric is a distributed systems platform for packaging, deploying, and managing stateless and stateful distributed applications and containers at large scale.
https://docs.microsoft.com/en-us/azure/service-fabric/
MIT License
3.03k stars 399 forks source link

Service Fabric - Docker Container name #725

Open nareshkhatri81 opened 6 years ago

nareshkhatri81 commented 6 years ago

Team,

When service fabric runs containers from images, it gives name something like "sf-1-f03e7f66-7ba2-493a-9c1b-834bf0160d01_0b7299e0-d90b-4816-8abc-351f6a50f8c1".

is it possible to give some custom name to container? Currently in Dynatrace monitoring tool, its shows name of containers as above which doesn't give any insight of which images its referring to.

Thanks, naresh Khatri

andremarques023 commented 5 years ago

Any news on this?

alexwiedermann commented 5 years ago

I have this problem too.

gkhanna79 commented 5 years ago

Sorry, this slipped through the cracks.

There is no way to giving the containers custom name since these are specified for SF Runtime to track the respective instances. Name is different from Container Image @nareshkhatri81 - see https://container42.com/2016/03/27/docker-quicktip-7-psformat/ for an example. Does DynaTrace not show you the image detail, as shown in "docker ps -a"?