Return to Image List

jetty

jetty

Jetty is a pure Java-based HTTP (Web) server and Java Servlet container. While Web Servers are usually associated with serving documents to people, Jetty is now often used for machine to machine communications, usually within larger software frameworks. Jetty is developed as a free and open source project as part of the Eclipse Foundation. The web server is used in products such as Apache ActiveMQ, Alfresco, Apache Geronimo, Apache Maven, Apache Spark, Google App Engine, Eclipse, FUSE, Twitter's Streaming API and Zimbra. Jetty is also the server in open source projects such as Lift, Eucalyptus, Red5, Hadoop and I2P. Jetty supports the latest Java Servlet API (with JSP support) as well as protocols SPDY and WebSocket.

See jetty.com for more information

This image is built by IBM to run on the IBM Z architecture and is not affiliated with any other community that provides a version of this image.


License

View license information here

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.


Versions

Use the pull string below for the version of this image you require.
9.4.44 docker pull icr.io/ibmz/jetty@sha256:ea2ae559b25af6ae4273481b9af73c4a237094aed0db1ff918722f50249847d8 Vulnerability Report01-02-2025
11.0.9-jdk17-eclipse-temurin docker pull icr.io/ibmz/jetty@sha256:e7bfb8481b247fee4a34757c77e1ea58100f80513c5a8bb2e52f2408ade0d424 Vulnerability Report01-02-2025
11.0-jdk11 docker pull icr.io/ibmz/jetty@sha256:d04aa05d761e8306de8a00630b6bbb063173c5feeaba32964f2f12b8dcd92e6d Vulnerability Report01-02-2025
9.4.45-jdk17-openjdk docker pull icr.io/ibmz/jetty@sha256:ab61bb57dd85ecde87a6befd5daa94390e5dc7dec8e387d48eee0b82cd744a32 Vulnerability Report01-02-2025
11.0.11-jdk17-eclipse-temurin docker pull icr.io/ibmz/jetty@sha256:a1d0d32c74390797960180d96564f35bdf801539f2667600127c1f61086629b5 Vulnerability Report01-02-2025
11.0.13-jdk17-eclipse-temurin docker pull icr.io/ibmz/jetty@sha256:6cc5ac9839837c900007de7b2a81fd88acb57548de420eacfd6ca6dcb61963cd Vulnerability Report01-02-2025
Version Pull String Security (IBM Cloud) Created

Usage Notes

To run the default Jetty server in the background, use the following command with the values for {http_port} and {https_port} replaced with your desired ports.

docker run -d --name jetty -p {http_port}:8080 -p {https_port}:8443 icr.io/ibmz/jetty:[version]

You can test it by visiting container-ip:8080 or container-ip:8443/ in a browser.

Environment:
The default Jetty environment in the image is:

JETTY_HOME    =  /usr/local/jetty
JETTY_BASE    =  /var/lib/jetty
TMPDIR        =  /tmp/jetty

Deployment:
Webapps can be deployed under /var/lib/jetty/webapps in the usual ways (WAR file, exploded WAR directory, or context XML file). To deploy your application to the / context, use the name ROOT.war, the directory name ROOT, or the context file ROOT.xml (case insensitive).