From 7fb615d9790dad7fe96b287e13f3fce0d4af0429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondro=20Mih=C3=A1lyi?= Date: Fri, 4 Oct 2024 18:32:09 +0200 Subject: [PATCH] Fix small issues in docs (#19) --- 7.0.18/docs/content.md | 6 +++--- src/main/resources/docs/content.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/7.0.18/docs/content.md b/7.0.18/docs/content.md index 41e8fb3..20bae14 100644 --- a/7.0.18/docs/content.md +++ b/7.0.18/docs/content.md @@ -54,7 +54,7 @@ This will run GlassFish static shell JAR from the GlassFish installation, which To display usage instructions, run: ``` -docker run -it -p 8080:8080 glassfish runembedded +docker run -it -p 8080:8080 glassfish runembedded --help ``` To deploy an application, copy the application into the Docker image or mount the directory that contains it, and then pass the path to it as an argument. For example, if the application myapp.war is copied to the default `/opt/glassfish7` directory: @@ -158,7 +158,7 @@ You can also just create a configuration file called `glassfish.properties` in t To display usage instructions, run: ``` -docker run -it -p 8080:8080 glassfish runembedded +docker run -it -p 8080:8080 glassfish runembedded --help ``` This Docker image also supports adding custom Java VM arguments, with the JVM_OPTS environments variable. FOr example, you can specify `-XX:MaxRAMPercentage=75` to set maximum heap size to 75% of RAM: @@ -172,7 +172,7 @@ docker run -it -e JVM_OPTS=="-XX:MaxRAMPercentage=75" -p 8080:8080 glassfish run To enable debugging, you can either add a custom debugging instruction for the JVM with the `JVM_OPTS` variable, or you can set one of the following environment variables to `true`: -* `DEBUG` - enables remove debugger on port 9009, doesn't suspend the server +* `DEBUG` - enables remote debugger on port 9009, doesn't suspend the server * `SUSPEND` - suspends the server right at the startup and continues when a debugger connects on port 9009 Example: diff --git a/src/main/resources/docs/content.md b/src/main/resources/docs/content.md index 86b4824..7bbfb0e 100644 --- a/src/main/resources/docs/content.md +++ b/src/main/resources/docs/content.md @@ -54,7 +54,7 @@ This will run GlassFish static shell JAR from the GlassFish installation, which To display usage instructions, run: ``` -docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded +docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded --help ``` To deploy an application, copy the application into the Docker image or mount the directory that contains it, and then pass the path to it as an argument. For example, if the application myapp.war is copied to the default `/opt/glassfish7` directory: @@ -158,7 +158,7 @@ You can also just create a configuration file called `glassfish.properties` in t To display usage instructions, run: ``` -docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded +docker run -it -p 8080:8080 @docker.glassfish.repository@ runembedded --help ``` This Docker image also supports adding custom Java VM arguments, with the JVM_OPTS environments variable. FOr example, you can specify `-XX:MaxRAMPercentage=75` to set maximum heap size to 75% of RAM: @@ -172,7 +172,7 @@ docker run -it -e JVM_OPTS=="-XX:MaxRAMPercentage=75" -p 8080:8080 @docker.glass To enable debugging, you can either add a custom debugging instruction for the JVM with the `JVM_OPTS` variable, or you can set one of the following environment variables to `true`: -* `DEBUG` - enables remove debugger on port 9009, doesn't suspend the server +* `DEBUG` - enables remote debugger on port 9009, doesn't suspend the server * `SUSPEND` - suspends the server right at the startup and continues when a debugger connects on port 9009 Example: