Skip to content

Commit 4451f23

Browse files
Table standardization.
1 parent 5fd5f59 commit 4451f23

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/container-apps/java-containers-intro.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ A **Dockerfile** contains instructions for building a Docker image. For Java app
104104

105105
Choosing the right base image is crucial. Consider these options:
106106

107-
| Description | Name | Remarks |
108-
|---|---|---|
109-
| Microsoft Java development Image | `mcr.microsoft.com/java/jdk:21-zulu-ubuntu` | Full Java development kit (JDK) and optimized for Azure |
110-
| Microsoft Java production Image | `mcr.microsoft.com/java/jre:21-zulu-ubuntu` | Runtime only and optimized for Azure |
111-
| Official OpenJDK development Image | `openjdk:21-jdk` | Full JDK |
112-
| Official OpenJDK production Image | `openjdk:21-jre` | Runtime only |
107+
| Description | Name | Remarks |
108+
|------------------------------------|---------------------------------------------|---------------------------------------------------------|
109+
| Microsoft Java development Image | `mcr.microsoft.com/java/jdk:21-zulu-ubuntu` | Full Java development kit (JDK) and optimized for Azure |
110+
| Microsoft Java production Image | `mcr.microsoft.com/java/jre:21-zulu-ubuntu` | Runtime only and optimized for Azure |
111+
| Official OpenJDK development Image | `openjdk:21-jdk` | Full JDK |
112+
| Official OpenJDK production Image | `openjdk:21-jre` | Runtime only |
113113

114114
For development environments, use a full JDK image. For production, use a JRE or distroless image to minimize the size and attack surface of your application.
115115

@@ -342,12 +342,12 @@ ENTRYPOINT ["java", "-XX:+PrintFlagsFinal", "-XX:+PrintGCDetails", "-jar", "app.
342342

343343
Common issues include:
344344

345-
| Error | Possible solution |
346-
|---|---|
347-
| Out of memory | Increase container memory limits |
345+
| Error | Possible solution |
346+
|----------------------|-------------------------------------------------------------------------|
347+
| Out of memory | Increase container memory limits |
348348
| Connection time-outs | Check network configuration for errors. Verify ports and routing rules. |
349-
| Permission problems | Verify file system permissions. |
350-
| Classpath issues | Check JAR structure and dependencies. |
349+
| Permission problems | Verify file system permissions. |
350+
| Classpath issues | Check JAR structure and dependencies. |
351351

352352
## Optimize Java containers
353353

0 commit comments

Comments
 (0)