Skip to content

Commit

Permalink
Test build for #1050
Browse files Browse the repository at this point in the history
  • Loading branch information
dcermak authored and SUSE Update Bot committed May 6, 2024
1 parent cabfa94 commit cc95c7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tomcat-10-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To deploy an application, copy the `.war` file file into
`$CATALINA_BASE/webapps` (either during a container build or by bind-mounting
the directory), and launch the container using the following command:
```ShellSession
$ podman run -d --rm -p 8080:8080 registry.suse.com/suse/tomcat:10
$ podman run -d --rm -p 8080:8080 registry.suse.com/suse/tomcat:latest
```

The deployed webapp is then accessible via `http://localhost:8080/$webapp_name`.
Expand All @@ -38,7 +38,7 @@ follows:
```ShellSession
$ chmod 0777 /path/to/my/app
$ podman run --rm -d -v /path/to/my/app:/usr/share/tomcat/webapps:z \
-p 8080:8080 registry.suse.com/suse/tomcat:10
-p 8080:8080 registry.suse.com/suse/tomcat:latest
```


Expand All @@ -54,7 +54,7 @@ options to the container runtime using the `-e` flag:
```ShellSession
$ podman run -it --rm \
-e JAVA_OPTS="-Xmx1024m" -p 8080:8080 \
registry.suse.com/suse/tomcat:10
registry.suse.com/suse/tomcat:latest
```

The image ships with `CATALINA_HOME` set to `/usr/share/tomcat`
Expand Down

0 comments on commit cc95c7d

Please sign in to comment.