Apache Sling Starter Docker Image

Clone this repo:



  1. f7b7288 SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 1 year, 3 months ago master
  2. e49ffb5 SLING-11051 - Fixing JavaDoc badge by Dan Klco · 2 years, 6 months ago
  3. 6f5635f SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 3 years ago
  4. 198cbbd SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 3 years ago
  5. a7f327f SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 3 years ago

Apache Sling

Sonarcloud Status License

About Sling

Apache Sling is a framework for RESTful web-applications based on an extensible content tree.

In a nutshell, Sling maps HTTP request URLs to content resources based on the request's path, extension and selectors. Using convention over configuration, requests are processed by scripts and servlets, dynamically selected based on the current resource. This fosters meaningful URLs and resource driven request processing, while the modular nature of Sling allows for specialized server instances that include only what is needed.

Sling serves as basis for a variety of applications ranging from blogging engines all the way to enterprise content management systems.

These docker images are convenience binaries for quickly getting started with Apache Sling. To learn more about Sling, see our getting started and the Sling website in general.

Supported tags

Launching instructions

In order to run a container with our image, execute:

docker run --name my-sling-container apache/sling

The image exposes port 8080 and mounts a volume at /opt/sling/sling. You can control the JVM parameters by setting the JAVA_OPTS environment variable and the options passed to Sling by setting the SLING_OPTS environment variable.

A more complex example would be

docker run -d -p 8080:8080 -v /srv/docker/sling:/opt/sling/sling  -e JVM_OPTS=-Xm1g --name my-sling-container apache/sling


For questions, please use the Apache Sling user's mailing list.

For bug reports, please use the Apache Sling issue tracker.`

For Sling developers: how to deploy this image to DockerHub

See the instructions on the Sling Wiki