forked from apache/tomcat
-
Notifications
You must be signed in to change notification settings - Fork 0
Deploying Tomcat on Podman
Endi S. Dewata edited this page Feb 18, 2023
·
2 revisions
To deploy Tomcat container:
$ podman run \ --name tomcat \ --rm \ --tmpfs /tmp \ --tmpfs /run \ -p 8080:8080 \ tomcat
To access the container:
$ podman exec -ti tomcat bash
To deploy JAR file:
$ podman cp <JAR file> tomcat:/usr/local/tomcat/lib
To deploy WAR file:
$ podman cp <WAR file> tomcat:/usr/local/tomcat/webapps/<context>.war