This guide uses Docker to run Eclipse Jetty.
For Docker installation, see Docker.
Create a directory to store your configuration and compose files.
mkdir -p /opt/jetty
cd /opt/jetty
Define a container for Eclipse Jetty.
services:
jetty:
image: ${JETTY_IMAGE}
ports:
- "8080:8080"
- "8443:8443"
volumes:
- ./webapps:/var/lib/jetty/webapps
- ./start.d:/var/lib/jetty/start.d
Start the container in the background.
docker compose up -d
JETTY_IMAGE=jetty:12.1latest.Any questions?
Feel free to contact us. Find all contact information on our contact page.