Skip to content

Commit c3b8b4e

Browse files
Merge pull request #265578 from jeanbisutti/java-app-insights-duplicated-docker-doc
Remove duplicated container documentation
2 parents 8a064c5 + 98022ab commit c3b8b4e

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

articles/azure-monitor/app/java-spring-boot.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,7 @@ java -javaagent:"path/to/applicationinsights-agent-3.4.19.jar" -jar <myapp.jar>
2424

2525
### Spring Boot via Docker entry point
2626

27-
If you're using the *exec* form, add the parameter `-javaagent:"path/to/applicationinsights-agent-3.4.19.jar"` to the parameter list somewhere before the `"-jar"` parameter, for example:
28-
29-
```
30-
ENTRYPOINT ["java", "-javaagent:path/to/applicationinsights-agent-3.4.19.jar", "-jar", "<myapp.jar>"]
31-
```
32-
33-
If you're using the *shell* form, add the JVM arg `-javaagent:"path/to/applicationinsights-agent-3.4.19.jar"` somewhere before `-jar`, for example:
34-
35-
```
36-
ENTRYPOINT java -javaagent:"path/to/applicationinsights-agent-3.4.19.jar" -jar <myapp.jar>
37-
```
27+
See the [documentation related to containers](./java-get-started-supplemental.md).
3828

3929
### Configuration
4030

0 commit comments

Comments
 (0)