# How to capture code level instrumentation docker service

**URL:** <https://community.dynatrace.com/t/how-to-capture-code-level-instrumentation-docker-service/21107>\
**Category:** Container platforms\
**Tags:** docker\
**Created:** [June 24, 2019, 4:20pm UTC](https://community.dynatrace.com/t/how-to-capture-code-level-instrumentation-docker-service/21107 "2019-06-24T16:20:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jibi\_uthaman1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jibi_uthaman1/32/2628_2.png) [@jibi\_uthaman1](https://community.dynatrace.com/u/jibi_uthaman1)\
**Post date:** [June 24, 2019, 4:20pm UTC](https://community.dynatrace.com/t/how-to-capture-code-level-instrumentation-docker-service/21107/1 "2019-06-24T16:20:22Z")

</div>

We have one agent enabled for host and it is showing some details on the docker containers. But code level details is not captured for the service. What needs to be done to enable that?

Automatic container injection for deep monitoring for Docker containers is enabled.

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [June 24, 2019, 6:25pm UTC](https://community.dynatrace.com/t/how-to-capture-code-level-instrumentation-docker-service/21107/2 "2019-06-24T18:25:24Z")

</div>

What is technology of service inside container? If it is for example raw java or raw .net, you will need creating custom service:

> **[Define custom services](https://docs.dynatrace.com/docs/observe/application-observability/services-classic/service-detection/service-detection-v1/service-types/custom-services)**
>
> Define entry points (a method, class, or interface) for custom services that don't use standard protocols.

Sebastian
