This is page 15 of 25. Use http://codebase.md/id/docs/get_started/create/basic_markup.html?lines=true&page={x} to view the full context.
# Directory Structure
```
├── .ci
│ ├── check-markdownfmt.sh
│ ├── check-metadata.sh
│ ├── check-pr-no-readme.sh
│ ├── check-required-files.sh
│ ├── check-short.sh
│ ├── check-ymlfmt.sh
│ └── get-markdownfmt.sh
├── .common-templates
│ ├── maintainer-community.md
│ ├── maintainer-docker.md
│ ├── maintainer-hashicorp.md
│ └── maintainer-influxdata.md
├── .dockerignore
├── .github
│ └── workflows
│ └── ci.yml
├── .template-helpers
│ ├── arches.sh
│ ├── autogenerated-warning.md
│ ├── compose.md
│ ├── generate-dockerfile-links-partial.sh
│ ├── generate-dockerfile-links-partial.tmpl
│ ├── get-help.md
│ ├── issues.md
│ ├── license-common.md
│ ├── template.md
│ ├── variant-alpine.md
│ ├── variant-default-buildpack-deps.md
│ ├── variant-default-debian.md
│ ├── variant-default-ubuntu.md
│ ├── variant-onbuild.md
│ ├── variant-slim.md
│ ├── variant-windowsservercore.md
│ ├── variant.md
│ └── variant.sh
├── adminer
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── aerospike
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── almalinux
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── alpine
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── alt
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── amazoncorretto
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── amazonlinux
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── api-firewall
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── arangodb
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── archlinux
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── backdrop
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── bash
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── bonita
│ ├── compose.yaml
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── buildpack-deps
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── busybox
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-glibc.md
│ ├── variant-musl.md
│ ├── variant-uclibc.md
│ └── variant.md
├── caddy
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo-120.png
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── cassandra
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── chronograf
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── cirros
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── clearlinux
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── clefos
│ ├── content.md
│ ├── deprecated.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── clickhouse
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── clojure
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── composer
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── convertigo
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── couchbase
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── couchdb
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── crate
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── dart
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── debian
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-slim.md
│ └── variant.md
├── docker
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-rootless.md
│ └── variant-windowsservercore.md
├── Dockerfile
├── drupal
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-fpm.md
├── eclipse-mosquitto
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── eclipse-temurin
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── eggdrop
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── elasticsearch
│ ├── compose.yaml
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-alpine.md
├── elixir
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── emqx
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── erlang
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── fedora
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── flink
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── fluentd
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── friendica
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── gazebo
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── gcc
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── generate-repo-stub-readme.sh
├── geonetwork
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-postgres.md
│ └── variant.md
├── get-categories.sh
├── ghost
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── golang
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-alpine.md
│ └── variant-tip.md
├── gradle
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── groovy
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── haproxy
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── haskell
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-slim.md
├── haxe
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── hello-world
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── update.sh
├── hitch
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── httpd
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── hylang
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── ibm-semeru-runtimes
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── ibmjava
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── influxdb
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-data.md
│ └── variant-meta.md
├── irssi
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── jetty
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── joomla
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── jruby
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── julia
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── kapacitor
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── kibana
│ ├── compose.yaml
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── kong
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── krakend
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo-120.png
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── LICENSE
├── lightstreamer
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── liquibase
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── logstash
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-alpine.md
├── mageia
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── mariadb
│ ├── compose.yaml
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── markdownfmt.sh
├── matomo
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── maven
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── mediawiki
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── memcached
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── metadata.json
├── metadata.sh
├── mongo
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── mongo-express
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── monica
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── mono
│ ├── content.md
│ ├── deprecated.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── mysql
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── nats
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── neo4j
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── neurodebian
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── nextcloud
│ ├── content.md
│ ├── deprecated.md
│ ├── github-repo
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── nginx
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-perl.md
├── node
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── notary
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── odoo
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── open-liberty
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── openjdk
│ ├── content.md
│ ├── deprecated.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-alpine.md
│ ├── variant-oracle.md
│ └── variant-slim.md
├── oraclelinux
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-slim.md
├── orientdb
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── parallel-update.sh
├── percona
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── perl
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── photon
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── php
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-apache.md
│ ├── variant-cli.md
│ ├── variant-fpm.md
│ └── variant.md
├── php-zendserver
│ ├── content.md
│ ├── deprecated.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── phpmyadmin
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── plone
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── postfixadmin
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-apache.md
│ ├── variant-fpm-alpine.md
│ └── variant-fpm.md
├── postgres
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── push.pl
├── push.sh
├── pypy
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── python
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-slim.md
├── r-base
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── rabbitmq
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── rakudo-star
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── README.md
├── redis
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── redmine
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── registry
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── rethinkdb
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── rocket.chat
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── rockylinux
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── ros
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── ruby
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── rust
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── sapmachine
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── satosa
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── scratch
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── silverpeas
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── solr
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── sonarqube
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── spark
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── spiped
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── storm
│ ├── compose.yaml
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── swift
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── swipl
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── teamspeak
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── telegraf
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── tomcat
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── tomee
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── traefik
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-alpine.md
├── ubuntu
│ ├── content.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── unit
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── update.sh
├── varnish
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── websphere-liberty
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── wordpress
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ ├── variant-cli.md
│ └── variant-fpm.md
├── xwiki
│ ├── content.md
│ ├── get-help.md
│ ├── github-repo
│ ├── issues.md
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ └── README.md
├── ymlfmt.sh
├── yourls
│ ├── compose.yaml
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.svg
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-fpm.md
├── znc
│ ├── content.md
│ ├── github-repo
│ ├── license.md
│ ├── logo.png
│ ├── maintainer.md
│ ├── metadata.json
│ ├── README-short.txt
│ ├── README.md
│ └── variant-slim.md
└── zookeeper
├── compose.yaml
├── content.md
├── github-repo
├── license.md
├── logo.png
├── maintainer.md
├── metadata.json
├── README-short.txt
└── README.md
```
# Files
--------------------------------------------------------------------------------
/jetty/README.md:
--------------------------------------------------------------------------------
```markdown
1 | <!--
2 |
3 | ********************************************************************************
4 |
5 | WARNING:
6 |
7 | DO NOT EDIT "jetty/README.md"
8 |
9 | IT IS AUTO-GENERATED
10 |
11 | (from the other files in "jetty/" combined with a set of templates)
12 |
13 | ********************************************************************************
14 |
15 | -->
16 |
17 | # Quick reference
18 |
19 | - **Maintained by**:
20 | [the Docker Community](https://github.com/eclipse/jetty.docker)
21 |
22 | - **Where to get help**:
23 | [the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix & Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)
24 |
25 | # Supported tags and respective `Dockerfile` links
26 |
27 | - [`9.4.57-jre8-alpine`, `9.4-jre8-alpine`, `9-jre8-alpine`, `9.4.57-jre8-alpine-eclipse-temurin`, `9.4-jre8-alpine-eclipse-temurin`, `9-jre8-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre8-alpine/Dockerfile)
28 |
29 | - [`9.4.57-jre8`, `9.4-jre8`, `9-jre8`, `9.4.57-jre8-eclipse-temurin`, `9.4-jre8-eclipse-temurin`, `9-jre8-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre8/Dockerfile)
30 |
31 | - [`9.4.57-jre21-alpine`, `9.4-jre21-alpine`, `9-jre21-alpine`, `9.4.57-jre21-alpine-eclipse-temurin`, `9.4-jre21-alpine-eclipse-temurin`, `9-jre21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre21-alpine/Dockerfile)
32 |
33 | - [`9.4.57-jre21`, `9.4-jre21`, `9-jre21`, `9.4.57-jre21-eclipse-temurin`, `9.4-jre21-eclipse-temurin`, `9-jre21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre21/Dockerfile)
34 |
35 | - [`9.4.57-jre17-alpine`, `9.4-jre17-alpine`, `9-jre17-alpine`, `9.4.57-jre17-alpine-eclipse-temurin`, `9.4-jre17-alpine-eclipse-temurin`, `9-jre17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre17-alpine/Dockerfile)
36 |
37 | - [`9.4.57-jre17`, `9.4-jre17`, `9-jre17`, `9.4.57-jre17-eclipse-temurin`, `9.4-jre17-eclipse-temurin`, `9-jre17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre17/Dockerfile)
38 |
39 | - [`9.4.57-jre11-alpine`, `9.4-jre11-alpine`, `9-jre11-alpine`, `9.4.57-jre11-alpine-eclipse-temurin`, `9.4-jre11-alpine-eclipse-temurin`, `9-jre11-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre11-alpine/Dockerfile)
40 |
41 | - [`9.4.57-jre11`, `9.4-jre11`, `9-jre11`, `9.4.57-jre11-eclipse-temurin`, `9.4-jre11-eclipse-temurin`, `9-jre11-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jre11/Dockerfile)
42 |
43 | - [`9.4.57-jdk8`, `9.4-jdk8`, `9-jdk8`, `9.4.57-jdk8-eclipse-temurin`, `9.4-jdk8-eclipse-temurin`, `9-jdk8-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk8/Dockerfile)
44 |
45 | - [`9.4.57-jdk21-alpine`, `9.4-jdk21-alpine`, `9-jdk21-alpine`, `9.4.57-jdk21-alpine-eclipse-temurin`, `9.4-jdk21-alpine-eclipse-temurin`, `9-jdk21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk21-alpine/Dockerfile)
46 |
47 | - [`9.4.57`, `9.4`, `9`, `9.4.57-jdk21`, `9.4-jdk21`, `9-jdk21`, `9.4.57-eclipse-temurin`, `9.4-eclipse-temurin`, `9-eclipse-temurin`, `9.4.57-jdk21-eclipse-temurin`, `9.4-jdk21-eclipse-temurin`, `9-jdk21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk21/Dockerfile)
48 |
49 | - [`9.4.57-jdk17-alpine`, `9.4-jdk17-alpine`, `9-jdk17-alpine`, `9.4.57-jdk17-alpine-eclipse-temurin`, `9.4-jdk17-alpine-eclipse-temurin`, `9-jdk17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk17-alpine/Dockerfile)
50 |
51 | - [`9.4.57-jdk17`, `9.4-jdk17`, `9-jdk17`, `9.4.57-jdk17-eclipse-temurin`, `9.4-jdk17-eclipse-temurin`, `9-jdk17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk17/Dockerfile)
52 |
53 | - [`9.4.57-jdk11-alpine`, `9.4-jdk11-alpine`, `9-jdk11-alpine`, `9.4.57-jdk11-alpine-eclipse-temurin`, `9.4-jdk11-alpine-eclipse-temurin`, `9-jdk11-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk11-alpine/Dockerfile)
54 |
55 | - [`9.4.57-jdk11`, `9.4-jdk11`, `9-jdk11`, `9.4.57-jdk11-eclipse-temurin`, `9.4-jdk11-eclipse-temurin`, `9-jdk11-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/eclipse-temurin/9.4/jdk11/Dockerfile)
56 |
57 | - [`12.0.20-jre21-alpine`, `12.0-jre21-alpine`, `12-jre21-alpine`, `12.0.20-jre21-alpine-eclipse-temurin`, `12.0-jre21-alpine-eclipse-temurin`, `12-jre21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jre21-alpine/Dockerfile)
58 |
59 | - [`12.0.20-jre21`, `12.0-jre21`, `12-jre21`, `12.0.20-jre21-eclipse-temurin`, `12.0-jre21-eclipse-temurin`, `12-jre21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jre21/Dockerfile)
60 |
61 | - [`12.0.20-jre17-alpine`, `12.0-jre17-alpine`, `12-jre17-alpine`, `12.0.20-jre17-alpine-eclipse-temurin`, `12.0-jre17-alpine-eclipse-temurin`, `12-jre17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jre17-alpine/Dockerfile)
62 |
63 | - [`12.0.20-jre17`, `12.0-jre17`, `12-jre17`, `12.0.20-jre17-eclipse-temurin`, `12.0-jre17-eclipse-temurin`, `12-jre17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jre17/Dockerfile)
64 |
65 | - [`12.0.20-jdk24-alpine`, `12.0-jdk24-alpine`, `12-jdk24-alpine`, `12.0.20-jdk24-alpine-eclipse-temurin`, `12.0-jdk24-alpine-eclipse-temurin`, `12-jdk24-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jdk24-alpine/Dockerfile)
66 |
67 | - [`12.0.20-jdk24`, `12.0-jdk24`, `12-jdk24`, `12.0.20-jdk24-eclipse-temurin`, `12.0-jdk24-eclipse-temurin`, `12-jdk24-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jdk24/Dockerfile)
68 |
69 | - [`12.0.20-jdk21-alpine`, `12.0-jdk21-alpine`, `12-jdk21-alpine`, `12.0.20-jdk21-alpine-eclipse-temurin`, `12.0-jdk21-alpine-eclipse-temurin`, `12-jdk21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jdk21-alpine/Dockerfile)
70 |
71 | - [`12.0.20`, `12.0`, `12`, `12.0.20-jdk21`, `12.0-jdk21`, `12-jdk21`, `12.0.20-eclipse-temurin`, `12.0-eclipse-temurin`, `12-eclipse-temurin`, `12.0.20-jdk21-eclipse-temurin`, `12.0-jdk21-eclipse-temurin`, `12-jdk21-eclipse-temurin`, `latest`, `jdk21`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jdk21/Dockerfile)
72 |
73 | - [`12.0.20-jdk17-alpine`, `12.0-jdk17-alpine`, `12-jdk17-alpine`, `12.0.20-jdk17-alpine-eclipse-temurin`, `12.0-jdk17-alpine-eclipse-temurin`, `12-jdk17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jdk17-alpine/Dockerfile)
74 |
75 | - [`12.0.20-jdk17`, `12.0-jdk17`, `12-jdk17`, `12.0.20-jdk17-eclipse-temurin`, `12.0-jdk17-eclipse-temurin`, `12-jdk17-eclipse-temurin`, `jdk17`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/eclipse-temurin/12.0/jdk17/Dockerfile)
76 |
77 | - [`11.0.25-jre21-alpine`, `11.0-jre21-alpine`, `11-jre21-alpine`, `11.0.25-jre21-alpine-eclipse-temurin`, `11.0-jre21-alpine-eclipse-temurin`, `11-jre21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jre21-alpine/Dockerfile)
78 |
79 | - [`11.0.25-jre21`, `11.0-jre21`, `11-jre21`, `11.0.25-jre21-eclipse-temurin`, `11.0-jre21-eclipse-temurin`, `11-jre21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jre21/Dockerfile)
80 |
81 | - [`11.0.25-jre17-alpine`, `11.0-jre17-alpine`, `11-jre17-alpine`, `11.0.25-jre17-alpine-eclipse-temurin`, `11.0-jre17-alpine-eclipse-temurin`, `11-jre17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jre17-alpine/Dockerfile)
82 |
83 | - [`11.0.25-jre17`, `11.0-jre17`, `11-jre17`, `11.0.25-jre17-eclipse-temurin`, `11.0-jre17-eclipse-temurin`, `11-jre17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jre17/Dockerfile)
84 |
85 | - [`11.0.25-jre11-alpine`, `11.0-jre11-alpine`, `11-jre11-alpine`, `11.0.25-jre11-alpine-eclipse-temurin`, `11.0-jre11-alpine-eclipse-temurin`, `11-jre11-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jre11-alpine/Dockerfile)
86 |
87 | - [`11.0.25-jre11`, `11.0-jre11`, `11-jre11`, `11.0.25-jre11-eclipse-temurin`, `11.0-jre11-eclipse-temurin`, `11-jre11-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jre11/Dockerfile)
88 |
89 | - [`11.0.25-jdk21-alpine`, `11.0-jdk21-alpine`, `11-jdk21-alpine`, `11.0.25-jdk21-alpine-eclipse-temurin`, `11.0-jdk21-alpine-eclipse-temurin`, `11-jdk21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jdk21-alpine/Dockerfile)
90 |
91 | - [`11.0.25`, `11.0`, `11`, `11.0.25-jdk21`, `11.0-jdk21`, `11-jdk21`, `11.0.25-eclipse-temurin`, `11.0-eclipse-temurin`, `11-eclipse-temurin`, `11.0.25-jdk21-eclipse-temurin`, `11.0-jdk21-eclipse-temurin`, `11-jdk21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jdk21/Dockerfile)
92 |
93 | - [`11.0.25-jdk17-alpine`, `11.0-jdk17-alpine`, `11-jdk17-alpine`, `11.0.25-jdk17-alpine-eclipse-temurin`, `11.0-jdk17-alpine-eclipse-temurin`, `11-jdk17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jdk17-alpine/Dockerfile)
94 |
95 | - [`11.0.25-jdk17`, `11.0-jdk17`, `11-jdk17`, `11.0.25-jdk17-eclipse-temurin`, `11.0-jdk17-eclipse-temurin`, `11-jdk17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jdk17/Dockerfile)
96 |
97 | - [`11.0.25-jdk11-alpine`, `11.0-jdk11-alpine`, `11-jdk11-alpine`, `11.0.25-jdk11-alpine-eclipse-temurin`, `11.0-jdk11-alpine-eclipse-temurin`, `11-jdk11-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jdk11-alpine/Dockerfile)
98 |
99 | - [`11.0.25-jdk11`, `11.0-jdk11`, `11-jdk11`, `11.0.25-jdk11-eclipse-temurin`, `11.0-jdk11-eclipse-temurin`, `11-jdk11-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/11.0/jdk11/Dockerfile)
100 |
101 | - [`10.0.25-jre21-alpine`, `10.0-jre21-alpine`, `10-jre21-alpine`, `10.0.25-jre21-alpine-eclipse-temurin`, `10.0-jre21-alpine-eclipse-temurin`, `10-jre21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jre21-alpine/Dockerfile)
102 |
103 | - [`10.0.25-jre21`, `10.0-jre21`, `10-jre21`, `10.0.25-jre21-eclipse-temurin`, `10.0-jre21-eclipse-temurin`, `10-jre21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jre21/Dockerfile)
104 |
105 | - [`10.0.25-jre17-alpine`, `10.0-jre17-alpine`, `10-jre17-alpine`, `10.0.25-jre17-alpine-eclipse-temurin`, `10.0-jre17-alpine-eclipse-temurin`, `10-jre17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jre17-alpine/Dockerfile)
106 |
107 | - [`10.0.25-jre17`, `10.0-jre17`, `10-jre17`, `10.0.25-jre17-eclipse-temurin`, `10.0-jre17-eclipse-temurin`, `10-jre17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jre17/Dockerfile)
108 |
109 | - [`10.0.25-jre11-alpine`, `10.0-jre11-alpine`, `10-jre11-alpine`, `10.0.25-jre11-alpine-eclipse-temurin`, `10.0-jre11-alpine-eclipse-temurin`, `10-jre11-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jre11-alpine/Dockerfile)
110 |
111 | - [`10.0.25-jre11`, `10.0-jre11`, `10-jre11`, `10.0.25-jre11-eclipse-temurin`, `10.0-jre11-eclipse-temurin`, `10-jre11-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jre11/Dockerfile)
112 |
113 | - [`10.0.25-jdk21-alpine`, `10.0-jdk21-alpine`, `10-jdk21-alpine`, `10.0.25-jdk21-alpine-eclipse-temurin`, `10.0-jdk21-alpine-eclipse-temurin`, `10-jdk21-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jdk21-alpine/Dockerfile)
114 |
115 | - [`10.0.25`, `10.0`, `10`, `10.0.25-jdk21`, `10.0-jdk21`, `10-jdk21`, `10.0.25-eclipse-temurin`, `10.0-eclipse-temurin`, `10-eclipse-temurin`, `10.0.25-jdk21-eclipse-temurin`, `10.0-jdk21-eclipse-temurin`, `10-jdk21-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jdk21/Dockerfile)
116 |
117 | - [`10.0.25-jdk17-alpine`, `10.0-jdk17-alpine`, `10-jdk17-alpine`, `10.0.25-jdk17-alpine-eclipse-temurin`, `10.0-jdk17-alpine-eclipse-temurin`, `10-jdk17-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jdk17-alpine/Dockerfile)
118 |
119 | - [`10.0.25-jdk17`, `10.0-jdk17`, `10-jdk17`, `10.0.25-jdk17-eclipse-temurin`, `10.0-jdk17-eclipse-temurin`, `10-jdk17-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jdk17/Dockerfile)
120 |
121 | - [`10.0.25-jdk11-alpine`, `10.0-jdk11-alpine`, `10-jdk11-alpine`, `10.0.25-jdk11-alpine-eclipse-temurin`, `10.0-jdk11-alpine-eclipse-temurin`, `10-jdk11-alpine-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jdk11-alpine/Dockerfile)
122 |
123 | - [`10.0.25-jdk11`, `10.0-jdk11`, `10-jdk11`, `10.0.25-jdk11-eclipse-temurin`, `10.0-jdk11-eclipse-temurin`, `10-jdk11-eclipse-temurin`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/eclipse-temurin/10.0/jdk11/Dockerfile)
124 |
125 | - [`9.4.57-jdk8-alpine-amazoncorretto`, `9.4-jdk8-alpine-amazoncorretto`, `9-jdk8-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk8-alpine/Dockerfile)
126 |
127 | - [`9.4.57-jdk8-amazoncorretto`, `9.4-jdk8-amazoncorretto`, `9-jdk8-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk8/Dockerfile)
128 |
129 | - [`9.4.57-jdk21-alpine-amazoncorretto`, `9.4-jdk21-alpine-amazoncorretto`, `9-jdk21-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk21-alpine/Dockerfile)
130 |
131 | - [`9.4.57-amazoncorretto`, `9.4-amazoncorretto`, `9-amazoncorretto`, `9.4.57-jdk21-amazoncorretto`, `9.4-jdk21-amazoncorretto`, `9-jdk21-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk21/Dockerfile)
132 |
133 | - [`9.4.57-jdk17-alpine-amazoncorretto`, `9.4-jdk17-alpine-amazoncorretto`, `9-jdk17-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk17-alpine/Dockerfile)
134 |
135 | - [`9.4.57-jdk17-amazoncorretto`, `9.4-jdk17-amazoncorretto`, `9-jdk17-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk17/Dockerfile)
136 |
137 | - [`9.4.57-jdk11-alpine-amazoncorretto`, `9.4-jdk11-alpine-amazoncorretto`, `9-jdk11-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk11-alpine/Dockerfile)
138 |
139 | - [`9.4.57-jdk11-amazoncorretto`, `9.4-jdk11-amazoncorretto`, `9-jdk11-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/446d2207a126e7afe059328bc3641731d2cbd74e/amazoncorretto/9.4/jdk11/Dockerfile)
140 |
141 | - [`12.0.20-jdk24-al2023-amazoncorretto`, `12.0-jdk24-al2023-amazoncorretto`, `12-jdk24-al2023-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk24-al2023/Dockerfile)
142 |
143 | - [`12.0.20-jdk21-alpine-amazoncorretto`, `12.0-jdk21-alpine-amazoncorretto`, `12-jdk21-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk21-alpine/Dockerfile)
144 |
145 | - [`12.0.20-jdk21-al2023-amazoncorretto`, `12.0-jdk21-al2023-amazoncorretto`, `12-jdk21-al2023-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk21-al2023/Dockerfile)
146 |
147 | - [`12.0.20-amazoncorretto`, `12.0-amazoncorretto`, `12-amazoncorretto`, `12.0.20-jdk21-amazoncorretto`, `12.0-jdk21-amazoncorretto`, `12-jdk21-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk21/Dockerfile)
148 |
149 | - [`12.0.20-jdk17-alpine-amazoncorretto`, `12.0-jdk17-alpine-amazoncorretto`, `12-jdk17-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk17-alpine/Dockerfile)
150 |
151 | - [`12.0.20-jdk17-al2023-amazoncorretto`, `12.0-jdk17-al2023-amazoncorretto`, `12-jdk17-al2023-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk17-al2023/Dockerfile)
152 |
153 | - [`12.0.20-jdk17-amazoncorretto`, `12.0-jdk17-amazoncorretto`, `12-jdk17-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/3e0493215a3f0824c7066f1e4ca7a46223fe1099/amazoncorretto/12.0/jdk17/Dockerfile)
154 |
155 | - [`11.0.25-jdk21-alpine-amazoncorretto`, `11.0-jdk21-alpine-amazoncorretto`, `11-jdk21-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/11.0/jdk21-alpine/Dockerfile)
156 |
157 | - [`11.0.25-amazoncorretto`, `11.0-amazoncorretto`, `11-amazoncorretto`, `11.0.25-jdk21-amazoncorretto`, `11.0-jdk21-amazoncorretto`, `11-jdk21-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/11.0/jdk21/Dockerfile)
158 |
159 | - [`11.0.25-jdk17-alpine-amazoncorretto`, `11.0-jdk17-alpine-amazoncorretto`, `11-jdk17-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/11.0/jdk17-alpine/Dockerfile)
160 |
161 | - [`11.0.25-jdk17-amazoncorretto`, `11.0-jdk17-amazoncorretto`, `11-jdk17-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/11.0/jdk17/Dockerfile)
162 |
163 | - [`11.0.25-jdk11-alpine-amazoncorretto`, `11.0-jdk11-alpine-amazoncorretto`, `11-jdk11-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/11.0/jdk11-alpine/Dockerfile)
164 |
165 | - [`11.0.25-jdk11-amazoncorretto`, `11.0-jdk11-amazoncorretto`, `11-jdk11-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/11.0/jdk11/Dockerfile)
166 |
167 | - [`10.0.25-jdk21-alpine-amazoncorretto`, `10.0-jdk21-alpine-amazoncorretto`, `10-jdk21-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/10.0/jdk21-alpine/Dockerfile)
168 |
169 | - [`10.0.25-amazoncorretto`, `10.0-amazoncorretto`, `10-amazoncorretto`, `10.0.25-jdk21-amazoncorretto`, `10.0-jdk21-amazoncorretto`, `10-jdk21-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/10.0/jdk21/Dockerfile)
170 |
171 | - [`10.0.25-jdk17-alpine-amazoncorretto`, `10.0-jdk17-alpine-amazoncorretto`, `10-jdk17-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/10.0/jdk17-alpine/Dockerfile)
172 |
173 | - [`10.0.25-jdk17-amazoncorretto`, `10.0-jdk17-amazoncorretto`, `10-jdk17-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/10.0/jdk17/Dockerfile)
174 |
175 | - [`10.0.25-jdk11-alpine-amazoncorretto`, `10.0-jdk11-alpine-amazoncorretto`, `10-jdk11-alpine-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/10.0/jdk11-alpine/Dockerfile)
176 |
177 | - [`10.0.25-jdk11-amazoncorretto`, `10.0-jdk11-amazoncorretto`, `10-jdk11-amazoncorretto`](https://github.com/eclipse/jetty.docker/blob/354499910a5a61631cea6a8679f2d11f054c2ecb/amazoncorretto/10.0/jdk11/Dockerfile)
178 |
179 | # Quick reference (cont.)
180 |
181 | - **Where to file issues**:
182 | [https://github.com/eclipse/jetty.docker/issues](https://github.com/eclipse/jetty.docker/issues?q=)
183 |
184 | - **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
185 | [`amd64`](https://hub.docker.com/r/amd64/jetty/), [`arm64v8`](https://hub.docker.com/r/arm64v8/jetty/)
186 |
187 | - **Published image artifact details**:
188 | [repo-info repo's `repos/jetty/` directory](https://github.com/docker-library/repo-info/blob/master/repos/jetty) ([history](https://github.com/docker-library/repo-info/commits/master/repos/jetty))
189 | (image metadata, transfer size, etc)
190 |
191 | - **Image updates**:
192 | [official-images repo's `library/jetty` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fjetty)
193 | [official-images repo's `library/jetty` file](https://github.com/docker-library/official-images/blob/master/library/jetty) ([history](https://github.com/docker-library/official-images/commits/master/library/jetty))
194 |
195 | - **Source of this description**:
196 | [docs repo's `jetty/` directory](https://github.com/docker-library/docs/tree/master/jetty) ([history](https://github.com/docker-library/docs/commits/master/jetty))
197 |
198 | # What is Jetty?
199 |
200 | 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.
201 |
202 | > [wikipedia.org/wiki/Jetty_(web_server)](https://en.wikipedia.org/wiki/Jetty_%28web_server%29)
203 |
204 | Logo © Eclipse Foundation
205 |
206 | # How to use this image.
207 |
208 | To run the default Jetty server in the background, use the following command:
209 |
210 | ```console
211 | $ docker run -d jetty
212 | ```
213 |
214 | You can test it by visiting `http://container-ip:8080` or `https://container-ip:8443/` in a browser. To expose your Jetty server to outside requests, use a port mapping as follows:
215 |
216 | ```console
217 | $ docker run -d -p 80:8080 -p 443:8443 jetty
218 | ```
219 |
220 | This will map port 8080 inside the container as port 80 on the host and container port 8443 as host port 443. You can then go to `http://host-ip` or `https://host-ip` in a browser.
221 |
222 | ## Environment
223 |
224 | The default Jetty environment in the image is:
225 |
226 | JETTY_HOME = /usr/local/jetty
227 | JETTY_BASE = /var/lib/jetty
228 | TMPDIR = /tmp/jetty
229 |
230 | ## Deployment
231 |
232 | Webapps can be [deployed](https://www.eclipse.org/jetty/documentation/current/quickstart-deploying-webapps.html) 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).
233 |
234 | For older EOL'd images based on Jetty 7 or Jetty 8, please follow the [legacy instructions](https://wiki.eclipse.org/Jetty/Howto/Deploy_Web_Applications) on the Eclipse Wiki and deploy under `/usr/local/jetty/webapps` instead of `/var/lib/jetty/webapps`.
235 |
236 | ## Configuration
237 |
238 | The configuration of the Jetty server can be reported by running with the `--list-config` option:
239 |
240 | ```console
241 | $ docker run -d jetty --list-config
242 | ```
243 |
244 | Configuration such as parameters and additional modules may also be passed in via the command line. For example:
245 |
246 | ```console
247 | $ docker run -d jetty --module=jmx jetty.threadPool.maxThreads=500
248 | ```
249 |
250 | To update the server configuration in a derived Docker image, the `Dockerfile` may enable additional modules with `RUN` commands like:
251 |
252 | ```Dockerfile
253 | FROM jetty
254 |
255 | RUN java -jar "$JETTY_HOME/start.jar" --add-to-startd=jmx,stats
256 | ```
257 |
258 | Modules may be configured in a `Dockerfile` by editing the properties in the corresponding `/var/lib/jetty/start.d/*.ini` file or the module can be deactivated by removing that file.
259 |
260 | ### JVM Configuration
261 |
262 | JVM options can be set by passing the `JAVA_OPTIONS` environment variable to the container. For example, to set the maximum heap size to 1 gigabyte, you can run the container as follows:
263 |
264 | ```console
265 | $ docker run -e JAVA_OPTIONS="-Xmx1g" -d jetty
266 | ```
267 |
268 | ## Read-only container
269 |
270 | To run `jetty` as a read-only container, have Docker create the `/tmp/jetty` and `/run/jetty` directories as volumes:
271 |
272 | ```console
273 | $ docker run -d --read-only -v /tmp/jetty -v /run/jetty jetty
274 | ```
275 |
276 | Since the container is read-only, you'll need to either mount in your webapps directory with `-v /path/to/my/webapps:/var/lib/jetty/webapps` or by populating `/var/lib/jetty/webapps` in a derived image.
277 |
278 | ## HTTP/2 Support
279 |
280 | Starting with version 9.3, Jetty comes with built-in support for HTTP/2. However, due to potential license compatiblity issues with the ALPN library used to implement HTTP/2, the module is not enabled by default. In order to enable HTTP/2 support in a derived `Dockerfile` for private use, you can add a `RUN` command that enables the `http2` module and approve its license as follows:
281 |
282 | ```Dockerfile
283 | FROM jetty
284 |
285 | RUN java -jar $JETTY_HOME/start.jar --add-to-startd=http2 --approve-all-licenses
286 | ```
287 |
288 | This will add an `http2.ini` file to the `$JETTY_BASE/start.d` directory and download the required ALPN libraries into `$JETTY_BASE/lib/alpn`, allowing the use of HTTP/2. HTTP/2 connections should be made via the same port as normal HTTPS connections (container port 8443). If you would like to enable the `http2` module via `$JETTY_BASE/start.ini` instead, substitute `--add-to-start` in place of `--add-to-startd` in the `RUN` command above.
289 |
290 | # Security
291 |
292 | By default, this image starts as user `root` and uses Jetty's `setuid` module to drop privileges to user `jetty` after initialization. The `JETTY_BASE` directory at `/var/lib/jetty` is owned by `jetty:jetty` (uid 999, gid 999).
293 |
294 | If you would like the image to start immediately as user `jetty` instead of starting as `root`, you can start the container with `-u jetty`:
295 |
296 | ```console
297 | $ docker run -d -u jetty jetty
298 | ```
299 |
300 | # Image Variants
301 |
302 | The `jetty` images come in many flavors, each designed for a specific use case.
303 |
304 | ## `jetty:<version>`
305 |
306 | This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
307 |
308 | ## `jetty:<version>-alpine`
309 |
310 | This image is based on the popular [Alpine Linux project](https://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
311 |
312 | This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use [musl libc](https://musl.libc.org) instead of [glibc and friends](https://www.etalabs.net/compare_libcs.html), so software will often run into issues depending on the depth of their libc requirements/assumptions. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
313 |
314 | To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
315 |
316 | # License
317 |
318 | View [license information](http://eclipse.org/jetty/licenses.html) for the software contained in this image.
319 |
320 | 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).
321 |
322 | Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `jetty/` directory](https://github.com/docker-library/repo-info/tree/master/repos/jetty).
323 |
324 | 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.
325 |
```
--------------------------------------------------------------------------------
/clojure/README.md:
--------------------------------------------------------------------------------
```markdown
1 | <!--
2 |
3 | ********************************************************************************
4 |
5 | WARNING:
6 |
7 | DO NOT EDIT "clojure/README.md"
8 |
9 | IT IS AUTO-GENERATED
10 |
11 | (from the other files in "clojure/" combined with a set of templates)
12 |
13 | ********************************************************************************
14 |
15 | -->
16 |
17 | # Quick reference
18 |
19 | - **Maintained by**:
20 | [the Docker Community](https://github.com/Quantisan/docker-clojure)
21 |
22 | - **Where to get help**:
23 | [the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix & Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)
24 |
25 | # Supported tags and respective `Dockerfile` links
26 |
27 | - [`latest`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-21/latest/Dockerfile)
28 |
29 | - [`temurin-8-lein-2.11.2-alpine`, `temurin-8-lein-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-8-jdk-alpine/lein/Dockerfile)
30 |
31 | - [`temurin-8-lein-2.11.2-bookworm`, `temurin-8-lein-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-8/lein/Dockerfile)
32 |
33 | - [`temurin-8-lein-2.11.2-bookworm-slim`, `temurin-8-lein-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-8/lein/Dockerfile)
34 |
35 | - [`temurin-8-lein-2.11.2-bullseye`, `temurin-8-lein-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-8/lein/Dockerfile)
36 |
37 | - [`temurin-8-lein-2.11.2-bullseye-slim`, `temurin-8-lein-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-8/lein/Dockerfile)
38 |
39 | - [`temurin-8-lein-2.11.2-jammy`, `temurin-8-lein-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-8-jdk-jammy/lein/Dockerfile)
40 |
41 | - [`temurin-8-lein`, `temurin-8-lein-2.11.2`, `temurin-8-lein-2.11.2-noble`, `temurin-8-lein-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-8-jdk-noble/lein/Dockerfile)
42 |
43 | - [`temurin-8-lein-2.11.2-trixie`, `temurin-8-lein-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-8/lein/Dockerfile)
44 |
45 | - [`temurin-8-lein-2.11.2-trixie-slim`, `temurin-8-lein-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-8/lein/Dockerfile)
46 |
47 | - [`temurin-8-alpine`, `temurin-8-tools-deps-1.12.0.1530-alpine`, `temurin-8-tools-deps-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-8-jdk-alpine/tools-deps/Dockerfile)
48 |
49 | - [`temurin-8-bookworm`, `temurin-8-tools-deps-1.12.0.1530-bookworm`, `temurin-8-tools-deps-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-8/tools-deps/Dockerfile)
50 |
51 | - [`temurin-8-bookworm-slim`, `temurin-8-tools-deps-1.12.0.1530-bookworm-slim`, `temurin-8-tools-deps-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-8/tools-deps/Dockerfile)
52 |
53 | - [`temurin-8-bullseye`, `temurin-8-tools-deps-1.12.0.1530-bullseye`, `temurin-8-tools-deps-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-8/tools-deps/Dockerfile)
54 |
55 | - [`temurin-8-bullseye-slim`, `temurin-8-tools-deps-1.12.0.1530-bullseye-slim`, `temurin-8-tools-deps-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-8/tools-deps/Dockerfile)
56 |
57 | - [`temurin-8-jammy`, `temurin-8-tools-deps-1.12.0.1530-jammy`, `temurin-8-tools-deps-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-8-jdk-jammy/tools-deps/Dockerfile)
58 |
59 | - [`temurin-8-noble`, `temurin-8-tools-deps`, `temurin-8-tools-deps-1.12.0.1530`, `temurin-8-tools-deps-1.12.0.1530-noble`, `temurin-8-tools-deps-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-8-jdk-noble/tools-deps/Dockerfile)
60 |
61 | - [`temurin-8-tools-deps-1.12.0.1530-trixie`, `temurin-8-tools-deps-trixie`, `temurin-8-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-8/tools-deps/Dockerfile)
62 |
63 | - [`temurin-8-tools-deps-1.12.0.1530-trixie-slim`, `temurin-8-tools-deps-trixie-slim`, `temurin-8-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-8/tools-deps/Dockerfile)
64 |
65 | - [`temurin-11-lein-2.11.2-alpine`, `temurin-11-lein-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-11-jdk-alpine/lein/Dockerfile)
66 |
67 | - [`temurin-11-lein-2.11.2-bookworm`, `temurin-11-lein-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-11/lein/Dockerfile)
68 |
69 | - [`temurin-11-lein-2.11.2-bookworm-slim`, `temurin-11-lein-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-11/lein/Dockerfile)
70 |
71 | - [`temurin-11-lein-2.11.2-bullseye`, `temurin-11-lein-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-11/lein/Dockerfile)
72 |
73 | - [`temurin-11-lein-2.11.2-bullseye-slim`, `temurin-11-lein-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-11/lein/Dockerfile)
74 |
75 | - [`temurin-11-lein-2.11.2-jammy`, `temurin-11-lein-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-11-jdk-jammy/lein/Dockerfile)
76 |
77 | - [`temurin-11-lein`, `temurin-11-lein-2.11.2`, `temurin-11-lein-2.11.2-noble`, `temurin-11-lein-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-11-jdk-noble/lein/Dockerfile)
78 |
79 | - [`temurin-11-lein-2.11.2-trixie`, `temurin-11-lein-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-11/lein/Dockerfile)
80 |
81 | - [`temurin-11-lein-2.11.2-trixie-slim`, `temurin-11-lein-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-11/lein/Dockerfile)
82 |
83 | - [`temurin-11-alpine`, `temurin-11-tools-deps-1.12.0.1530-alpine`, `temurin-11-tools-deps-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-11-jdk-alpine/tools-deps/Dockerfile)
84 |
85 | - [`temurin-11-bookworm`, `temurin-11-tools-deps-1.12.0.1530-bookworm`, `temurin-11-tools-deps-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-11/tools-deps/Dockerfile)
86 |
87 | - [`temurin-11-bookworm-slim`, `temurin-11-tools-deps-1.12.0.1530-bookworm-slim`, `temurin-11-tools-deps-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-11/tools-deps/Dockerfile)
88 |
89 | - [`temurin-11-bullseye`, `temurin-11-tools-deps-1.12.0.1530-bullseye`, `temurin-11-tools-deps-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-11/tools-deps/Dockerfile)
90 |
91 | - [`temurin-11-bullseye-slim`, `temurin-11-tools-deps-1.12.0.1530-bullseye-slim`, `temurin-11-tools-deps-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-11/tools-deps/Dockerfile)
92 |
93 | - [`temurin-11-jammy`, `temurin-11-tools-deps-1.12.0.1530-jammy`, `temurin-11-tools-deps-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-11-jdk-jammy/tools-deps/Dockerfile)
94 |
95 | - [`temurin-11-noble`, `temurin-11-tools-deps`, `temurin-11-tools-deps-1.12.0.1530`, `temurin-11-tools-deps-1.12.0.1530-noble`, `temurin-11-tools-deps-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-11-jdk-noble/tools-deps/Dockerfile)
96 |
97 | - [`temurin-11-tools-deps-1.12.0.1530-trixie`, `temurin-11-tools-deps-trixie`, `temurin-11-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-11/tools-deps/Dockerfile)
98 |
99 | - [`temurin-11-tools-deps-1.12.0.1530-trixie-slim`, `temurin-11-tools-deps-trixie-slim`, `temurin-11-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-11/tools-deps/Dockerfile)
100 |
101 | - [`temurin-17-lein-2.11.2-alpine`, `temurin-17-lein-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-17-jdk-alpine/lein/Dockerfile)
102 |
103 | - [`temurin-17-lein-2.11.2-bookworm`, `temurin-17-lein-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-17/lein/Dockerfile)
104 |
105 | - [`temurin-17-lein-2.11.2-bookworm-slim`, `temurin-17-lein-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-17/lein/Dockerfile)
106 |
107 | - [`temurin-17-lein-2.11.2-bullseye`, `temurin-17-lein-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-17/lein/Dockerfile)
108 |
109 | - [`temurin-17-lein-2.11.2-bullseye-slim`, `temurin-17-lein-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-17/lein/Dockerfile)
110 |
111 | - [`temurin-17-lein-2.11.2-jammy`, `temurin-17-lein-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-17-jdk-jammy/lein/Dockerfile)
112 |
113 | - [`temurin-17-lein`, `temurin-17-lein-2.11.2`, `temurin-17-lein-2.11.2-noble`, `temurin-17-lein-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-17-jdk-noble/lein/Dockerfile)
114 |
115 | - [`temurin-17-lein-2.11.2-trixie`, `temurin-17-lein-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-17/lein/Dockerfile)
116 |
117 | - [`temurin-17-lein-2.11.2-trixie-slim`, `temurin-17-lein-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-17/lein/Dockerfile)
118 |
119 | - [`temurin-17-alpine`, `temurin-17-tools-deps-1.12.0.1530-alpine`, `temurin-17-tools-deps-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-17-jdk-alpine/tools-deps/Dockerfile)
120 |
121 | - [`temurin-17-bookworm`, `temurin-17-tools-deps-1.12.0.1530-bookworm`, `temurin-17-tools-deps-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-17/tools-deps/Dockerfile)
122 |
123 | - [`temurin-17-bookworm-slim`, `temurin-17-tools-deps-1.12.0.1530-bookworm-slim`, `temurin-17-tools-deps-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-17/tools-deps/Dockerfile)
124 |
125 | - [`temurin-17-bullseye`, `temurin-17-tools-deps-1.12.0.1530-bullseye`, `temurin-17-tools-deps-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-17/tools-deps/Dockerfile)
126 |
127 | - [`temurin-17-bullseye-slim`, `temurin-17-tools-deps-1.12.0.1530-bullseye-slim`, `temurin-17-tools-deps-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-17/tools-deps/Dockerfile)
128 |
129 | - [`temurin-17-jammy`, `temurin-17-tools-deps-1.12.0.1530-jammy`, `temurin-17-tools-deps-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-17-jdk-jammy/tools-deps/Dockerfile)
130 |
131 | - [`temurin-17-noble`, `temurin-17-tools-deps`, `temurin-17-tools-deps-1.12.0.1530`, `temurin-17-tools-deps-1.12.0.1530-noble`, `temurin-17-tools-deps-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-17-jdk-noble/tools-deps/Dockerfile)
132 |
133 | - [`temurin-17-tools-deps-1.12.0.1530-trixie`, `temurin-17-tools-deps-trixie`, `temurin-17-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-17/tools-deps/Dockerfile)
134 |
135 | - [`temurin-17-tools-deps-1.12.0.1530-trixie-slim`, `temurin-17-tools-deps-trixie-slim`, `temurin-17-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-17/tools-deps/Dockerfile)
136 |
137 | - [`temurin-21-lein-2.11.2-alpine`, `temurin-21-lein-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-21-jdk-alpine/lein/Dockerfile)
138 |
139 | - [`lein`, `lein-2.11.2`, `lein-2.11.2-bookworm`, `lein-bookworm`, `temurin-21-lein`, `temurin-21-lein-2.11.2`, `temurin-21-lein-2.11.2-bookworm`, `temurin-21-lein-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-21/lein/Dockerfile)
140 |
141 | - [`lein-2.11.2-bookworm-slim`, `lein-bookworm-slim`, `temurin-21-lein-2.11.2-bookworm-slim`, `temurin-21-lein-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-21/lein/Dockerfile)
142 |
143 | - [`lein-2.11.2-bullseye`, `lein-bullseye`, `temurin-21-lein-2.11.2-bullseye`, `temurin-21-lein-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-21/lein/Dockerfile)
144 |
145 | - [`lein-2.11.2-bullseye-slim`, `lein-bullseye-slim`, `temurin-21-lein-2.11.2-bullseye-slim`, `temurin-21-lein-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-21/lein/Dockerfile)
146 |
147 | - [`temurin-21-lein-2.11.2-jammy`, `temurin-21-lein-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-21-jdk-jammy/lein/Dockerfile)
148 |
149 | - [`temurin-21-lein-2.11.2-noble`, `temurin-21-lein-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-21-jdk-noble/lein/Dockerfile)
150 |
151 | - [`lein-2.11.2-trixie`, `lein-trixie`, `temurin-21-lein-2.11.2-trixie`, `temurin-21-lein-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-21/lein/Dockerfile)
152 |
153 | - [`lein-2.11.2-trixie-slim`, `lein-trixie-slim`, `temurin-21-lein-2.11.2-trixie-slim`, `temurin-21-lein-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-21/lein/Dockerfile)
154 |
155 | - [`temurin-21-alpine`, `temurin-21-tools-deps-1.12.0.1530-alpine`, `temurin-21-tools-deps-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-21-jdk-alpine/tools-deps/Dockerfile)
156 |
157 | - [`temurin-21-bookworm`, `temurin-21-tools-deps`, `temurin-21-tools-deps-1.12.0.1530`, `temurin-21-tools-deps-1.12.0.1530-bookworm`, `temurin-21-tools-deps-bookworm`, `tools-deps`, `tools-deps-1.12.0.1530`, `tools-deps-1.12.0.1530-bookworm`, `tools-deps-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-21/tools-deps/Dockerfile)
158 |
159 | - [`temurin-21-bookworm-slim`, `temurin-21-tools-deps-1.12.0.1530-bookworm-slim`, `temurin-21-tools-deps-bookworm-slim`, `tools-deps-1.12.0.1530-bookworm-slim`, `tools-deps-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-21/tools-deps/Dockerfile)
160 |
161 | - [`temurin-21-bullseye`, `temurin-21-tools-deps-1.12.0.1530-bullseye`, `temurin-21-tools-deps-bullseye`, `tools-deps-1.12.0.1530-bullseye`, `tools-deps-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-21/tools-deps/Dockerfile)
162 |
163 | - [`temurin-21-bullseye-slim`, `temurin-21-tools-deps-1.12.0.1530-bullseye-slim`, `temurin-21-tools-deps-bullseye-slim`, `tools-deps-1.12.0.1530-bullseye-slim`, `tools-deps-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-21/tools-deps/Dockerfile)
164 |
165 | - [`temurin-21-jammy`, `temurin-21-tools-deps-1.12.0.1530-jammy`, `temurin-21-tools-deps-jammy`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-21-jdk-jammy/tools-deps/Dockerfile)
166 |
167 | - [`temurin-21-noble`, `temurin-21-tools-deps-1.12.0.1530-noble`, `temurin-21-tools-deps-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-21-jdk-noble/tools-deps/Dockerfile)
168 |
169 | - [`temurin-21-tools-deps-1.12.0.1530-trixie`, `temurin-21-tools-deps-trixie`, `temurin-21-trixie`, `tools-deps-1.12.0.1530-trixie`, `tools-deps-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-21/tools-deps/Dockerfile)
170 |
171 | - [`temurin-21-tools-deps-1.12.0.1530-trixie-slim`, `temurin-21-tools-deps-trixie-slim`, `temurin-21-trixie-slim`, `tools-deps-1.12.0.1530-trixie-slim`, `tools-deps-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-21/tools-deps/Dockerfile)
172 |
173 | - [`temurin-24-lein-2.11.2-alpine`, `temurin-24-lein-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-24-jdk-alpine/lein/Dockerfile)
174 |
175 | - [`temurin-24-lein`, `temurin-24-lein-2.11.2`, `temurin-24-lein-2.11.2-bookworm`, `temurin-24-lein-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-24/lein/Dockerfile)
176 |
177 | - [`temurin-24-lein-2.11.2-bookworm-slim`, `temurin-24-lein-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-24/lein/Dockerfile)
178 |
179 | - [`temurin-24-lein-2.11.2-bullseye`, `temurin-24-lein-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-24/lein/Dockerfile)
180 |
181 | - [`temurin-24-lein-2.11.2-bullseye-slim`, `temurin-24-lein-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-24/lein/Dockerfile)
182 |
183 | - [`temurin-24-lein-2.11.2-noble`, `temurin-24-lein-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-24-jdk-noble/lein/Dockerfile)
184 |
185 | - [`temurin-24-lein-2.11.2-trixie`, `temurin-24-lein-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-24/lein/Dockerfile)
186 |
187 | - [`temurin-24-lein-2.11.2-trixie-slim`, `temurin-24-lein-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-24/lein/Dockerfile)
188 |
189 | - [`temurin-24-alpine`, `temurin-24-tools-deps-1.12.0.1530-alpine`, `temurin-24-tools-deps-alpine`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-24-jdk-alpine/tools-deps/Dockerfile)
190 |
191 | - [`temurin-24-bookworm`, `temurin-24-tools-deps`, `temurin-24-tools-deps-1.12.0.1530`, `temurin-24-tools-deps-1.12.0.1530-bookworm`, `temurin-24-tools-deps-bookworm`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-24/tools-deps/Dockerfile)
192 |
193 | - [`temurin-24-bookworm-slim`, `temurin-24-tools-deps-1.12.0.1530-bookworm-slim`, `temurin-24-tools-deps-bookworm-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bookworm-slim-24/tools-deps/Dockerfile)
194 |
195 | - [`temurin-24-bullseye`, `temurin-24-tools-deps-1.12.0.1530-bullseye`, `temurin-24-tools-deps-bullseye`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-24/tools-deps/Dockerfile)
196 |
197 | - [`temurin-24-bullseye-slim`, `temurin-24-tools-deps-1.12.0.1530-bullseye-slim`, `temurin-24-tools-deps-bullseye-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-bullseye-slim-24/tools-deps/Dockerfile)
198 |
199 | - [`temurin-24-noble`, `temurin-24-tools-deps-1.12.0.1530-noble`, `temurin-24-tools-deps-noble`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/eclipse-temurin-24-jdk-noble/tools-deps/Dockerfile)
200 |
201 | - [`temurin-24-tools-deps-1.12.0.1530-trixie`, `temurin-24-tools-deps-trixie`, `temurin-24-trixie`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-24/tools-deps/Dockerfile)
202 |
203 | - [`temurin-24-tools-deps-1.12.0.1530-trixie-slim`, `temurin-24-tools-deps-trixie-slim`, `temurin-24-trixie-slim`](https://github.com/Quantisan/docker-clojure/blob/e4429fbcfb57b589abe8c884884c454997098ad9/target/debian-trixie-slim-24/tools-deps/Dockerfile)
204 |
205 | # Quick reference (cont.)
206 |
207 | - **Where to file issues**:
208 | [https://github.com/Quantisan/docker-clojure/issues](https://github.com/Quantisan/docker-clojure/issues?q=)
209 |
210 | - **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
211 | [`amd64`](https://hub.docker.com/r/amd64/clojure/), [`arm64v8`](https://hub.docker.com/r/arm64v8/clojure/), [`ppc64le`](https://hub.docker.com/r/ppc64le/clojure/), [`riscv64`](https://hub.docker.com/r/riscv64/clojure/), [`s390x`](https://hub.docker.com/r/s390x/clojure/)
212 |
213 | - **Published image artifact details**:
214 | [repo-info repo's `repos/clojure/` directory](https://github.com/docker-library/repo-info/blob/master/repos/clojure) ([history](https://github.com/docker-library/repo-info/commits/master/repos/clojure))
215 | (image metadata, transfer size, etc)
216 |
217 | - **Image updates**:
218 | [official-images repo's `library/clojure` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fclojure)
219 | [official-images repo's `library/clojure` file](https://github.com/docker-library/official-images/blob/master/library/clojure) ([history](https://github.com/docker-library/official-images/commits/master/library/clojure))
220 |
221 | - **Source of this description**:
222 | [docs repo's `clojure/` directory](https://github.com/docker-library/docs/tree/master/clojure) ([history](https://github.com/docker-library/docs/commits/master/clojure))
223 |
224 | # What is Clojure?
225 |
226 | Clojure is a dialect of the Lisp programming language. It is a general-purpose programming language with an emphasis on functional programming. It runs on the Java Virtual Machine, Common Language Runtime, and JavaScript engines. Like other Lisps, Clojure treats code as data and has a macro system.
227 |
228 | > [wikipedia.org/wiki/Clojure](http://en.wikipedia.org/wiki/Clojure)
229 |
230 | 
231 |
232 | # How to use this image
233 |
234 | ## Build tools
235 |
236 | Clojure has three major approaches to building and running projects:
237 |
238 | 1. [leiningen](https://leiningen.org)
239 | 1. The oldest and probably most common tool
240 | 2. [boot](http://boot-clj.com)
241 | 1. An alternative approach that solves similar problems as leiningen
242 | 3. [tools-deps](https://clojure.org/guides/deps_and_cli)
243 | 1. A more recent official tool for some of the lein/boot use cases
244 |
245 | There are variants of this image for all three of these tools and their respective releases. The most basic form of these tags is:
246 |
247 | 1. `clojure:lein`
248 | 2. `clojure:boot`
249 | 3. `clojure:tools-deps`
250 |
251 | But you can also append a hyphen and the version of that tool you'd like to use. For example, for lein 2.8.1 you can use this image: `clojure:lein-2.8.1`.
252 |
253 | ## Run your app with leiningen
254 |
255 | Add a `Dockerfile` to an existing Leiningen/Clojure project with the following contents:
256 |
257 | ```dockerfile
258 | FROM clojure
259 | COPY . /usr/src/app
260 | WORKDIR /usr/src/app
261 | CMD ["lein", "run"]
262 | ```
263 |
264 | Then, run these commands to build and run the image:
265 |
266 | ```console
267 | $ docker build -t my-clojure-app .
268 | $ docker run -it --rm --name my-running-app my-clojure-app
269 | ```
270 |
271 | While the above is the most straightforward example of a `Dockerfile`, it does have some drawbacks. The `lein run` command will download your dependencies, compile the project, and then run it. That's a lot of work, all of which you may not want done every time you run the image. To get around this, you can download the dependencies and compile the project ahead of time. This will significantly reduce startup time when you run your image.
272 |
273 | ```dockerfile
274 | FROM clojure
275 | RUN mkdir -p /usr/src/app
276 | WORKDIR /usr/src/app
277 | COPY project.clj /usr/src/app/
278 | RUN lein deps
279 | COPY . /usr/src/app
280 | RUN mv "$(lein uberjar | sed -n 's/^Created \(.*standalone\.jar\)/\1/p')" app-standalone.jar
281 | CMD ["java", "-jar", "app-standalone.jar"]
282 | ```
283 |
284 | Writing the `Dockerfile` this way will download the dependencies (and cache them, so they are only re-downloaded when the dependencies change) and then compile them into a standalone jar ahead of time rather than each time the image is run.
285 |
286 | You can then build and run the image as above.
287 |
288 | ## Compile your Lein/Clojure project into a jar from within the container
289 |
290 | If you have an existing Lein/Clojure project, it's fairly straightforward to compile your project into a jar from a container:
291 |
292 | ```console
293 | $ docker run -it --rm -v "$PWD":/usr/src/app -w /usr/src/app clojure lein uberjar
294 | ```
295 |
296 | This will build your project into a jar file located in your project's `target/uberjar` directory.
297 |
298 | ## More details
299 |
300 | See [the official image README](https://github.com/Quantisan/docker-clojure/blob/master/README.md) for more details about using this image with boot and tools-deps.
301 |
302 | # Image Variants
303 |
304 | The `clojure` images come in many flavors, each designed for a specific use case.
305 |
306 | ## `clojure:<version>`
307 |
308 | This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
309 |
310 | Some of these tags may have names like bookworm, bullseye, or trixie in them. These are the suite code names for releases of [Debian](https://wiki.debian.org/DebianReleases) and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.
311 |
312 | Some of these tags may have names like jammy or noble in them. These are the suite code names for releases of [Ubuntu](https://wiki.ubuntu.com/Releases) and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Ubuntu.
313 |
314 | ## `clojure:<version>-alpine`
315 |
316 | This image is based on the popular [Alpine Linux project](https://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
317 |
318 | This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use [musl libc](https://musl.libc.org) instead of [glibc and friends](https://www.etalabs.net/compare_libcs.html), so software will often run into issues depending on the depth of their libc requirements/assumptions. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
319 |
320 | To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
321 |
322 | ## `clojure:<version>-slim`
323 |
324 | This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run `clojure`. Unless you are working in an environment where *only* the `clojure` image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
325 |
326 | # License
327 |
328 | View [license information](http://clojure.org/license) for the software contained in this image.
329 |
330 | 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).
331 |
332 | Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `clojure/` directory](https://github.com/docker-library/repo-info/tree/master/repos/clojure).
333 |
334 | 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.
335 |
```
--------------------------------------------------------------------------------
/nextcloud/README.md:
--------------------------------------------------------------------------------
```markdown
1 | <!--
2 |
3 | ********************************************************************************
4 |
5 | WARNING:
6 |
7 | DO NOT EDIT "nextcloud/README.md"
8 |
9 | IT IS AUTO-GENERATED
10 |
11 | (from the other files in "nextcloud/" combined with a set of templates)
12 |
13 | ********************************************************************************
14 |
15 | -->
16 |
17 | # IMPORTANT NOTE
18 |
19 | ⚠️⚠️⚠️ This image is maintained by community volunteers and designed for expert use. For quick and easy deployment that supports the full set of Nextcloud Hub features, use the [Nextcloud All-in-One docker container](https://github.com/nextcloud/all-in-one#nextcloud-all-in-one) maintained by Nextcloud GmbH.
20 |
21 | # Quick reference
22 |
23 | - **Maintained by**:
24 | [the Nextcloud community](https://github.com/nextcloud/docker)
25 |
26 | - **Where to get help**:
27 | [the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix & Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)
28 |
29 | # Supported tags and respective `Dockerfile` links
30 |
31 | - [`29.0.16-apache`, `29.0-apache`, `29-apache`, `29.0.16`, `29.0`, `29`](https://github.com/nextcloud/docker/blob/f130178136c00a6e6951591510bcc059490e4c54/29/apache/Dockerfile)
32 |
33 | - [`29.0.16-fpm`, `29.0-fpm`, `29-fpm`](https://github.com/nextcloud/docker/blob/f130178136c00a6e6951591510bcc059490e4c54/29/fpm/Dockerfile)
34 |
35 | - [`29.0.16-fpm-alpine`, `29.0-fpm-alpine`, `29-fpm-alpine`](https://github.com/nextcloud/docker/blob/f130178136c00a6e6951591510bcc059490e4c54/29/fpm-alpine/Dockerfile)
36 |
37 | - [`30.0.10-apache`, `30.0-apache`, `30-apache`, `30.0.10`, `30.0`, `30`](https://github.com/nextcloud/docker/blob/645f515e295c4a7b505c44bc9622d6b158a7b526/30/apache/Dockerfile)
38 |
39 | - [`30.0.10-fpm`, `30.0-fpm`, `30-fpm`](https://github.com/nextcloud/docker/blob/645f515e295c4a7b505c44bc9622d6b158a7b526/30/fpm/Dockerfile)
40 |
41 | - [`30.0.10-fpm-alpine`, `30.0-fpm-alpine`, `30-fpm-alpine`](https://github.com/nextcloud/docker/blob/645f515e295c4a7b505c44bc9622d6b158a7b526/30/fpm-alpine/Dockerfile)
42 |
43 | - [`31.0.4-apache`, `31.0-apache`, `31-apache`, `apache`, `stable-apache`, `production-apache`, `31.0.4`, `31.0`, `31`, `latest`, `stable`, `production`](https://github.com/nextcloud/docker/blob/645f515e295c4a7b505c44bc9622d6b158a7b526/31/apache/Dockerfile)
44 |
45 | - [`31.0.4-fpm`, `31.0-fpm`, `31-fpm`, `fpm`, `stable-fpm`, `production-fpm`](https://github.com/nextcloud/docker/blob/645f515e295c4a7b505c44bc9622d6b158a7b526/31/fpm/Dockerfile)
46 |
47 | - [`31.0.4-fpm-alpine`, `31.0-fpm-alpine`, `31-fpm-alpine`, `fpm-alpine`, `stable-fpm-alpine`, `production-fpm-alpine`](https://github.com/nextcloud/docker/blob/645f515e295c4a7b505c44bc9622d6b158a7b526/31/fpm-alpine/Dockerfile)
48 |
49 | # Quick reference (cont.)
50 |
51 | - **Where to file issues**:
52 | [https://github.com/nextcloud/docker/issues](https://github.com/nextcloud/docker/issues?q=)
53 |
54 | - **Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))
55 | [`amd64`](https://hub.docker.com/r/amd64/nextcloud/), [`arm32v5`](https://hub.docker.com/r/arm32v5/nextcloud/), [`arm32v6`](https://hub.docker.com/r/arm32v6/nextcloud/), [`arm32v7`](https://hub.docker.com/r/arm32v7/nextcloud/), [`arm64v8`](https://hub.docker.com/r/arm64v8/nextcloud/), [`i386`](https://hub.docker.com/r/i386/nextcloud/), [`mips64le`](https://hub.docker.com/r/mips64le/nextcloud/), [`ppc64le`](https://hub.docker.com/r/ppc64le/nextcloud/), [`riscv64`](https://hub.docker.com/r/riscv64/nextcloud/), [`s390x`](https://hub.docker.com/r/s390x/nextcloud/)
56 |
57 | - **Published image artifact details**:
58 | [repo-info repo's `repos/nextcloud/` directory](https://github.com/docker-library/repo-info/blob/master/repos/nextcloud) ([history](https://github.com/docker-library/repo-info/commits/master/repos/nextcloud))
59 | (image metadata, transfer size, etc)
60 |
61 | - **Image updates**:
62 | [official-images repo's `library/nextcloud` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fnextcloud)
63 | [official-images repo's `library/nextcloud` file](https://github.com/docker-library/official-images/blob/master/library/nextcloud) ([history](https://github.com/docker-library/official-images/commits/master/library/nextcloud))
64 |
65 | - **Source of this description**:
66 | [docs repo's `nextcloud/` directory](https://github.com/docker-library/docs/tree/master/nextcloud) ([history](https://github.com/docker-library/docs/commits/master/nextcloud))
67 |
68 | # What is Nextcloud?
69 |
70 | A safe home for all your data. Access & share your files, calendars, contacts, mail & more from any device, on your terms.
71 |
72 | > [Nextcloud.com](https://nextcloud.com/)
73 |
74 | This Docker micro-service image is developed and maintained by the Nextcloud community. Nextcloud GmbH does not offer support for this Docker image. When you are looking to get professional support, you can become an [enterprise](https://nextcloud.com/enterprise/) customer or use [AIO](https://github.com/nextcloud/all-in-one#nextcloud-all-in-one).
75 |
76 | # How to use this image
77 |
78 | This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from.
79 |
80 | The `apache` tag contains a full Nextcloud installation including an apache web server. It is designed to be easy to use and gets you running pretty fast. This is also the default for the `latest` tag and version tags that are not further specified.
81 |
82 | The second option is a `fpm` container. It is based on the [php-fpm](https://hub.docker.com/_/php/) image and runs a fastCGI-Process that serves your Nextcloud page. To use this image it must be combined with any webserver that can proxy the http requests to the FastCGI-port of the container.
83 |
84 | ## Using the apache image
85 |
86 | The apache image contains a webserver and exposes port 80. To start the container type:
87 |
88 | ```console
89 | $ docker run -d -p 8080:80 nextcloud
90 | ```
91 |
92 | Now you can access Nextcloud at http://localhost:8080/ from your host system.
93 |
94 | ## Using the fpm image
95 |
96 | To use the fpm image, you need an additional web server, such as [nginx](https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html), that can proxy http-request to the fpm-port of the container. For fpm connection this container exposes port 9000. In most cases, you might want to use another container or your host as proxy. If you use your host you can address your Nextcloud container directly on port 9000. If you use another container, make sure that you add them to the same docker network (via `docker run --network <NAME> ...` or a `compose.yaml` file). In both cases you don't want to map the fpm port to your host.
97 |
98 | ```console
99 | $ docker run -d nextcloud:fpm
100 | ```
101 |
102 | As the fastCGI-Process is not capable of serving static files (style sheets, images, ...), the webserver needs access to these files. This can be achieved with the `volumes-from` option. You can find more information in the Docker Compose section.
103 |
104 | ## Using an external database
105 |
106 | By default, this container uses SQLite for data storage but the Nextcloud setup wizard (appears on first run) allows connecting to an existing MySQL/MariaDB or PostgreSQL database. You can also link a database container, e. g. `--link my-mysql:mysql`, and then use `mysql` as the database host on setup. More info is in the Docker Compose section.
107 |
108 | ## Persistent data
109 |
110 | The Nextcloud installation and all data beyond what lives in the database (file uploads, etc.) are stored in the [unnamed docker volume](https://docs.docker.com/storage/volumes/) volume `/var/www/html`. The docker daemon will store that data within the docker directory `/var/lib/docker/volumes/...`. That means your data is saved even if the container crashes, is stopped or deleted.
111 |
112 | A named Docker volume or a mounted host directory should be used for upgrades and backups. To achieve this, you need one volume for your database container and one for Nextcloud.
113 |
114 | Nextcloud:
115 |
116 | - `/var/www/html/` folder where all Nextcloud data lives
117 |
118 | ```console
119 | $ docker run -d \
120 | -v nextcloud:/var/www/html \
121 | nextcloud
122 | ```
123 |
124 | Database:
125 |
126 | - `/var/lib/mysql` MySQL / MariaDB Data
127 | - `/var/lib/postgresql/data` PostgreSQL Data
128 |
129 | ```console
130 | $ docker run -d \
131 | -v db:/var/lib/mysql \
132 | mariadb:10.6
133 | ```
134 |
135 | ### Additional volumes
136 |
137 | If you want to get fine grained access to your individual files, you can mount additional volumes for data, config, your theme and custom apps. The `data`, `config` files are stored in respective subfolders inside `/var/www/html/`. The apps are split into core `apps` (which are shipped with Nextcloud and you don't need to take care of) and a `custom_apps` folder. If you use a custom theme it would go into the `themes` subfolder.
138 |
139 | Overview of the folders that can be mounted as volumes:
140 |
141 | - `/var/www/html` Main folder, needed for updating
142 | - `/var/www/html/custom_apps` installed / modified apps
143 | - `/var/www/html/config` local configuration
144 | - `/var/www/html/data` the actual data of your Nextcloud
145 | - `/var/www/html/themes/<YOUR_CUSTOM_THEME>` theming/branding
146 |
147 | If you want to use named volumes for all of these, it would look like this:
148 |
149 | ```console
150 | $ docker run -d \
151 | -v nextcloud:/var/www/html \
152 | -v apps:/var/www/html/custom_apps \
153 | -v config:/var/www/html/config \
154 | -v data:/var/www/html/data \
155 | -v theme:/var/www/html/themes/<YOUR_CUSTOM_THEME> \
156 | nextcloud
157 | ```
158 |
159 | ### Custom volumes
160 |
161 | If mounting additional volumes under `/var/www/html`, you should consider:
162 |
163 | - Confirming that [upgrade.exclude](https://github.com/nextcloud/docker/blob/master/upgrade.exclude) contains the files and folders that should persist during installation and upgrades; or
164 | - Mounting storage volumes to locations outside of `/var/www/html`.
165 |
166 | > You should note that data inside the main folder (`/var/www/html`) will be overridden/removed during installation and upgrades, unless listed in [upgrade.exclude](https://github.com/nextcloud/docker/blob/master/upgrade.exclude). The additional volumes officially supported are already in that list, but custom volumes will need to be added by you. We suggest mounting custom storage volumes outside of `/var/www/html` and if possible read-only so that making this adjustment is unnecessary. If you must do so, however, you may build a custom image with a modified `/upgrade.exclude` file that incorporates your custom volume(s).
167 |
168 | ## Using the Nextcloud command-line interface
169 |
170 | To use the [Nextcloud command-line interface](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html) (aka. `occ` command):
171 |
172 | ```console
173 | $ docker exec --user www-data CONTAINER_ID php occ
174 | ```
175 |
176 | or for `docker compose`:
177 |
178 | ```console
179 | $ docker compose exec --user www-data app php occ
180 | ```
181 |
182 | ## Auto configuration via environment variables
183 |
184 | The Nextcloud image supports auto configuration via environment variables. You can preconfigure everything that is asked on the install page on first run. To enable auto configuration, set your database connection via the following environment variables. You must specify all of the environment variables for a given database or the database environment variables defaults to SQLITE. ONLY use one database type!
185 |
186 | **SQLite**:
187 |
188 | - `SQLITE_DATABASE` Name of the database using sqlite
189 |
190 | **MYSQL/MariaDB**:
191 |
192 | - `MYSQL_DATABASE` Name of the database using mysql / mariadb.
193 | - `MYSQL_USER` Username for the database using mysql / mariadb.
194 | - `MYSQL_PASSWORD` Password for the database user using mysql / mariadb.
195 | - `MYSQL_HOST` Hostname of the database server using mysql / mariadb.
196 |
197 | **PostgreSQL**:
198 |
199 | - `POSTGRES_DB` Name of the database using postgres.
200 | - `POSTGRES_USER` Username for the database using postgres.
201 | - `POSTGRES_PASSWORD` Password for the database user using postgres.
202 | - `POSTGRES_HOST` Hostname of the database server using postgres.
203 |
204 | As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. See [Docker secrets](#docker-secrets) section below.
205 |
206 | If you set any group of values (i.e. all of `MYSQL_DATABASE`, `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_HOST`), they will not be asked in the install page on first run. With a complete configuration by using all variables for your database type, you can additionally configure your Nextcloud instance by setting admin user and password (only works if you set both):
207 |
208 | - `NEXTCLOUD_ADMIN_USER` Name of the Nextcloud admin user.
209 | - `NEXTCLOUD_ADMIN_PASSWORD` Password for the Nextcloud admin user.
210 |
211 | If you want, you can set the data directory, otherwise default value will be used.
212 |
213 | - `NEXTCLOUD_DATA_DIR` (default: `/var/www/html/data`) Configures the data directory where nextcloud stores all files from the users.
214 |
215 | One or more trusted domains can be set through environment variable, too. They will be added to the configuration after install.
216 |
217 | - `NEXTCLOUD_TRUSTED_DOMAINS` (not set by default) Optional space-separated list of domains
218 |
219 | The install and update script is only triggered when a default command is used (`apache-foreground` or `php-fpm`). If you use a custom command you have to enable the install / update with
220 |
221 | - `NEXTCLOUD_UPDATE` (default: `0`)
222 |
223 | You might want to make sure the htaccess is up to date after each container update. Especially on multiple swarm nodes as any discrepancy will make your server unusable.
224 |
225 | - `NEXTCLOUD_INIT_HTACCESS` (not set by default) Set it to true to enable run `occ maintenance:update:htaccess` after container initialization.
226 |
227 | If you want to use Redis you have to create a separate [Redis](https://hub.docker.com/_/redis/) container in your setup / in your Compose file. To inform Nextcloud about the Redis container, pass in the following parameters:
228 |
229 | - `REDIS_HOST` (not set by default) Name of Redis container
230 | - `REDIS_HOST_PORT` (default: `6379`) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
231 | - `REDIS_HOST_PASSWORD` (not set by default) Redis password
232 |
233 | The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
234 |
235 | To use an external SMTP server, you have to provide the connection details. To configure Nextcloud to use SMTP add:
236 |
237 | - `SMTP_HOST` (not set by default): The hostname of the SMTP server.
238 | - `SMTP_SECURE` (empty by default): Set to `ssl` to use SSL, or `tls` to use STARTTLS.
239 | - `SMTP_PORT` (default: `465` for SSL and `25` for non-secure connections): Optional port for the SMTP connection. Use `587` for an alternative port for STARTTLS.
240 | - `SMTP_AUTHTYPE` (default: `LOGIN`): The method used for authentication. Use `PLAIN` if no authentication is required.
241 | - `SMTP_NAME` (empty by default): The username for the authentication.
242 | - `SMTP_PASSWORD` (empty by default): The password for the authentication.
243 | - `MAIL_FROM_ADDRESS` (not set by default): Set the local-part for the 'from' field in the emails sent by Nextcloud.
244 | - `MAIL_DOMAIN` (not set by default): Set a different domain for the emails than the domain where Nextcloud is installed.
245 |
246 | At least `SMTP_HOST`, `MAIL_FROM_ADDRESS` and `MAIL_DOMAIN` must be set for the configurations to be applied.
247 |
248 | Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/email_configuration.html) for other values to configure SMTP.
249 |
250 | To use an external S3 compatible object store as primary storage, set the following variables:
251 |
252 | - `OBJECTSTORE_S3_BUCKET`: The name of the bucket that Nextcloud should store the data in
253 | - `OBJECTSTORE_S3_REGION`: The region that the S3 bucket resides in
254 | - `OBJECTSTORE_S3_HOST`: The hostname of the object storage server
255 | - `OBJECTSTORE_S3_PORT`: The port that the object storage server is being served over
256 | - `OBJECTSTORE_S3_KEY`: AWS style access key
257 | - `OBJECTSTORE_S3_SECRET`: AWS style secret access key
258 | - `OBJECTSTORE_S3_STORAGE_CLASS`: The storage class to use when adding objects to the bucket
259 | - `OBJECTSTORE_S3_SSL` (default: `true`): Whether or not SSL/TLS should be used to communicate with object storage server
260 | - `OBJECTSTORE_S3_USEPATH_STYLE` (default: `false`): Not required for AWS S3
261 | - `OBJECTSTORE_S3_LEGACYAUTH` (default: `false`): Not required for AWS S3
262 | - `OBJECTSTORE_S3_OBJECT_PREFIX` (default: `urn:oid:`): Prefix to prepend to the fileid
263 | - `OBJECTSTORE_S3_AUTOCREATE` (default: `true`): Create the container if it does not exist
264 | - `OBJECTSTORE_S3_SSE_C_KEY` (not set by default): Base64 encoded key with a maximum length of 32 bytes for server side encryption (SSE-C)
265 |
266 | Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#simple-storage-service-s3) for more information.
267 |
268 | To use an external OpenStack Swift object store as primary storage, set the following variables:
269 |
270 | - `OBJECTSTORE_SWIFT_URL`: The Swift identity (Keystone) endpoint
271 | - `OBJECTSTORE_SWIFT_AUTOCREATE` (default: `false`): Whether or not Nextcloud should automatically create the Swift container
272 | - `OBJECTSTORE_SWIFT_USER_NAME`: Swift username
273 | - `OBJECTSTORE_SWIFT_USER_PASSWORD`: Swift user password
274 | - `OBJECTSTORE_SWIFT_USER_DOMAIN` (default: `Default`): Swift user domain
275 | - `OBJECTSTORE_SWIFT_PROJECT_NAME`: OpenStack project name
276 | - `OBJECTSTORE_SWIFT_PROJECT_DOMAIN` (default: `Default`): OpenStack project domain
277 | - `OBJECTSTORE_SWIFT_SERVICE_NAME` (default: `swift`): Swift service name
278 | - `OBJECTSTORE_SWIFT_REGION`: Swift endpoint region
279 | - `OBJECTSTORE_SWIFT_CONTAINER_NAME`: Swift container (bucket) that Nextcloud should store the data in
280 |
281 | Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information.
282 |
283 | To customize other PHP limits you can simply change the following variables:
284 |
285 | - `PHP_MEMORY_LIMIT` (default `512M`) This sets the maximum amount of memory in bytes that a script is allowed to allocate. This is meant to help prevent poorly written scripts from eating up all available memory but it can prevent normal operation if set too tight.
286 | - `PHP_UPLOAD_LIMIT` (default `512M`) This sets the upload limit (`post_max_size` and `upload_max_filesize`) for big files. Note that you may have to change other limits depending on your client, webserver or operating system. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html) for more information.
287 |
288 | To customize Apache max file upload limit you can change the following variable:
289 |
290 | - `APACHE_BODY_LIMIT` (default `1073741824` [1GiB]) This restricts the total size of the HTTP request body sent from the client. It specifies the number of *bytes* that are allowed in a request body. A value of **0** means **unlimited**. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html#apache) for more information.
291 |
292 | ## Auto configuration via hook folders
293 |
294 | There are 5 hooks
295 |
296 | - `pre-installation` Executed before the Nextcloud is installed/initiated
297 | - `post-installation` Executed after the Nextcloud is installed/initiated
298 | - `pre-upgrade` Executed before the Nextcloud is upgraded
299 | - `post-upgrade` Executed after the Nextcloud is upgraded
300 | - `before-starting` Executed before the Nextcloud starts
301 |
302 | To use the hooks triggered by the `entrypoint` script, either
303 |
304 | - Added your script(s) to the individual of the hook folder(s), which are located at the path `/docker-entrypoint-hooks.d` in the container
305 | - Use volume(s) if you want to use script from the host system inside the container, see example.
306 |
307 | **Note:** Only the script(s) located in a hook folder (not sub-folders), ending with `.sh` and marked as executable, will be executed.
308 |
309 | **Example:** Mount using volumes
310 |
311 | ```yaml
312 | ...
313 | app:
314 | image: nextcloud:stable
315 |
316 | volumes:
317 | - ./app-hooks/pre-installation:/docker-entrypoint-hooks.d/pre-installation
318 | - ./app-hooks/post-installation:/docker-entrypoint-hooks.d/post-installation
319 | - ./app-hooks/pre-upgrade:/docker-entrypoint-hooks.d/pre-upgrade
320 | - ./app-hooks/post-upgrade:/docker-entrypoint-hooks.d/post-upgrade
321 | - ./app-hooks/before-starting:/docker-entrypoint-hooks.d/before-starting
322 | ...
323 | ```
324 |
325 | ## Using the apache image behind a reverse proxy and auto configure server host and protocol
326 |
327 | The apache image will replace the remote addr (IP address visible to Nextcloud) with the IP address from `X-Real-IP` if the request is coming from a proxy in `10.0.0.0/8`, `172.16.0.0/12` or `192.168.0.0/16` by default. If you want Nextcloud to pick up the server host (`HTTP_X_FORWARDED_HOST`), protocol (`HTTP_X_FORWARDED_PROTO`) and client IP (`HTTP_X_FORWARDED_FOR`) from a trusted proxy, then disable rewrite IP and add the reverse proxy's IP address to `TRUSTED_PROXIES`.
328 |
329 | - `APACHE_DISABLE_REWRITE_IP` (not set by default): Set to 1 to disable rewrite IP.
330 | - `TRUSTED_PROXIES` (empty by default): A space-separated list of trusted proxies. CIDR notation is supported for IPv4.
331 |
332 | If the `TRUSTED_PROXIES` approach does not work for you, try using fixed values for overwrite parameters.
333 |
334 | - `OVERWRITEHOST` (empty by default): Set the hostname of the proxy. Can also specify a port.
335 | - `OVERWRITEPROTOCOL` (empty by default): Set the protocol of the proxy, http or https.
336 | - `OVERWRITECLIURL` (empty by default): Set the cli url of the proxy (e.g. https://mydnsname.example.com)
337 | - `OVERWRITEWEBROOT` (empty by default): Set the absolute path of the proxy.
338 | - `OVERWRITECONDADDR` (empty by default): Regex to overwrite the values dependent on the remote address.
339 |
340 | Check the [Nexcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/reverse_proxy_configuration.html) for more details.
341 |
342 | Keep in mind that once set, removing these environment variables won't remove these values from the configuration file, due to how Nextcloud merges configuration files together.
343 |
344 | # Running this image with Docker Compose
345 |
346 | The easiest way to get a fully featured and functional setup is using a `compose.yaml` file. There are too many different possibilities to setup your system, so here are only some examples of what you have to look for.
347 |
348 | At first, make sure you have chosen the right base image (fpm or apache) and added features you wanted (see below). In every case, you would want to add a database container and docker volumes to get easy access to your persistent data. When you want to have your server reachable from the internet, adding HTTPS-encryption is mandatory! See below for more information.
349 |
350 | ## Base version - apache
351 |
352 | This version will use the apache image and add a mariaDB container. The volumes are set to keep your data persistent. This setup provides **no ssl encryption** and is intended to run behind a proxy.
353 |
354 | Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
355 |
356 | ```yaml
357 | volumes:
358 | nextcloud:
359 | db:
360 |
361 | services:
362 | db:
363 | image: mariadb:10.6
364 | restart: always
365 | command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
366 | volumes:
367 | - db:/var/lib/mysql
368 | environment:
369 | - MYSQL_ROOT_PASSWORD=
370 | - MYSQL_PASSWORD=
371 | - MYSQL_DATABASE=nextcloud
372 | - MYSQL_USER=nextcloud
373 |
374 | app:
375 | image: nextcloud
376 | restart: always
377 | ports:
378 | - 8080:80
379 | links:
380 | - db
381 | volumes:
382 | - nextcloud:/var/www/html
383 | environment:
384 | - MYSQL_PASSWORD=
385 | - MYSQL_DATABASE=nextcloud
386 | - MYSQL_USER=nextcloud
387 | - MYSQL_HOST=db
388 | ```
389 |
390 | Then run `docker compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
391 |
392 | ## Base version - FPM
393 |
394 | When using the FPM image, you need another container that acts as web server on port 80 and proxies the requests to the Nextcloud container. In this example a simple nginx container is combined with the Nextcloud-fpm image and a MariaDB database container. The data is stored in docker volumes. The nginx container also needs access to static files from your Nextcloud installation. It gets access to all the volumes mounted to Nextcloud via the `volumes_from` option. The configuration for nginx is stored in the configuration file `nginx.conf`, that is mounted into the container. An example can be found in the examples section [here](https://github.com/nextcloud/docker/tree/master/.examples).
395 |
396 | As this setup does **not include encryption**, it should be run behind a proxy.
397 |
398 | Make sure to pass in values for `MYSQL_ROOT_PASSWORD` and `MYSQL_PASSWORD` variables before you run this setup.
399 |
400 | ```yaml
401 | volumes:
402 | nextcloud:
403 | db:
404 |
405 | services:
406 | db:
407 | image: mariadb:10.6
408 | restart: always
409 | command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
410 | volumes:
411 | - db:/var/lib/mysql
412 | environment:
413 | - MYSQL_ROOT_PASSWORD=
414 | - MYSQL_PASSWORD=
415 | - MYSQL_DATABASE=nextcloud
416 | - MYSQL_USER=nextcloud
417 |
418 | app:
419 | image: nextcloud:fpm
420 | restart: always
421 | links:
422 | - db
423 | volumes:
424 | - nextcloud:/var/www/html
425 | environment:
426 | - MYSQL_PASSWORD=
427 | - MYSQL_DATABASE=nextcloud
428 | - MYSQL_USER=nextcloud
429 | - MYSQL_HOST=db
430 |
431 | web:
432 | image: nginx
433 | restart: always
434 | ports:
435 | - 8080:80
436 | links:
437 | - app
438 | volumes:
439 | - ./nginx.conf:/etc/nginx/nginx.conf:ro
440 | volumes_from:
441 | - app
442 | ```
443 |
444 | Then run `docker compose up -d`, now you can access Nextcloud at http://localhost:8080/ from your host system.
445 |
446 | # Docker Secrets
447 |
448 | As an alternative to passing sensitive information via environment variables, `_FILE` may be appended to the previously listed environment variables, causing the initialization script to load the values for those variables from files present in the container. In particular, this can be used to load passwords from Docker secrets stored in `/run/secrets/<secret_name>` files. For example:
449 |
450 | ```yaml
451 | services:
452 | db:
453 | image: postgres
454 | restart: always
455 | volumes:
456 | - db:/var/lib/postgresql/data
457 | environment:
458 | - POSTGRES_DB_FILE=/run/secrets/postgres_db
459 | - POSTGRES_USER_FILE=/run/secrets/postgres_user
460 | - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
461 | secrets:
462 | - postgres_db
463 | - postgres_password
464 | - postgres_user
465 |
466 | app:
467 | image: nextcloud
468 | restart: always
469 | ports:
470 | - 8080:80
471 | volumes:
472 | - nextcloud:/var/www/html
473 | environment:
474 | - POSTGRES_HOST=db
475 | - POSTGRES_DB_FILE=/run/secrets/postgres_db
476 | - POSTGRES_USER_FILE=/run/secrets/postgres_user
477 | - POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
478 | - NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password
479 | - NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user
480 | depends_on:
481 | - db
482 | secrets:
483 | - nextcloud_admin_password
484 | - nextcloud_admin_user
485 | - postgres_db
486 | - postgres_password
487 | - postgres_user
488 |
489 | volumes:
490 | db:
491 | nextcloud:
492 |
493 | secrets:
494 | nextcloud_admin_password:
495 | file: ./nextcloud_admin_password.txt # put admin password in this file
496 | nextcloud_admin_user:
497 | file: ./nextcloud_admin_user.txt # put admin username in this file
498 | postgres_db:
499 | file: ./postgres_db.txt # put postgresql db name in this file
500 | postgres_password:
501 | file: ./postgres_password.txt # put postgresql password in this file
502 | postgres_user:
503 | file: ./postgres_user.txt # put postgresql username in this file
504 | ```
505 |
506 | Currently, this is only supported for `NEXTCLOUD_ADMIN_PASSWORD`, `NEXTCLOUD_ADMIN_USER`, `MYSQL_DATABASE`, `MYSQL_PASSWORD`, `MYSQL_USER`, `POSTGRES_DB`, `POSTGRES_PASSWORD`, `POSTGRES_USER`, `REDIS_HOST_PASSWORD`, `SMTP_PASSWORD`, `OBJECTSTORE_S3_KEY`, and `OBJECTSTORE_S3_SECRET`.
507 |
508 | If you set any group of values (i.e. all of `MYSQL_DATABASE_FILE`, `MYSQL_USER_FILE`, `MYSQL_PASSWORD_FILE`, `MYSQL_HOST`), the script will not use the corresponding group of environment variables (`MYSQL_DATABASE`, `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_HOST`).
509 |
510 | # Make your Nextcloud available from the internet
511 |
512 | Until here, your Nextcloud is just available from your docker host. If you want your Nextcloud available from the internet adding SSL encryption is mandatory.
513 |
514 | ## HTTPS - SSL encryption
515 |
516 | There are many different possibilities to introduce encryption depending on your setup.
517 |
518 | We recommend using a reverse proxy in front of your Nextcloud installation. Your Nextcloud will only be reachable through the proxy, which encrypts all traffic to the clients. You can mount your manually generated certificates to the proxy or use a fully automated solution which generates and renews the certificates for you.
519 |
520 | In our [examples](https://github.com/nextcloud/docker/tree/master/.examples) section we have an example for a fully automated setup using a reverse proxy, a container for [Let's Encrypt](https://letsencrypt.org/) certificate handling, database and Nextcloud. It uses the popular [nginx-proxy](https://github.com/jwilder/nginx-proxy) and [docker-letsencrypt-nginx-proxy-companion](https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion) containers. Please check the according documentations before using this setup.
521 |
522 | # First use
523 |
524 | When you first access your Nextcloud, the setup wizard will appear and ask you to choose an administrator account username, password and the database connection. For the database use `db` as host and `nextcloud` as table and user name. Also enter the password you chose in your `compose.yaml` file.
525 |
526 | # Update to a newer version
527 |
528 | Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one.
529 |
530 | **It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.**
531 |
532 | Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected.
533 |
534 | ```console
535 | $ docker pull nextcloud
536 | $ docker stop <your_nextcloud_container>
537 | $ docker rm <your_nextcloud_container>
538 | $ docker run <OPTIONS> -d nextcloud
539 | ```
540 |
541 | Beware that you have to run the same command with the options that you used to initially start your Nextcloud. That includes volumes, port mapping.
542 |
543 | When using Docker Compose, your `compose.yaml` file takes care of your configuration, so you just have to run:
544 |
545 | ```console
546 | $ docker compose pull
547 | $ docker compose up -d
548 | ```
549 |
550 | # Adding Features
551 |
552 | A lot of people want to use additional functionality inside their Nextcloud installation. If the image does not include the packages you need, you can easily build your own image on top of it. Start your derived image with the `FROM` statement and add whatever you like.
553 |
554 | ```dockerfile
555 | FROM nextcloud:apache
556 |
557 | RUN ...
558 | ```
559 |
560 | The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron job, smb-support or imap-authentication.
561 |
562 | If you use your own Dockerfile, you need to configure your `compose.yaml` file accordingly. Switch out the `image` option with `build`. You have to specify the path to your Dockerfile. (in the example it's in the same directory next to the `compose.yaml` file)
563 |
564 | ```yaml
565 | app:
566 | build: .
567 | restart: always
568 | links:
569 | - db
570 | volumes:
571 | - data:/var/www/html/data
572 | - config:/var/www/html/config
573 | - apps:/var/www/html/apps
574 | ```
575 |
576 | If you intend to use another command to run the image, make sure that you set `NEXTCLOUD_UPDATE=1` in your Dockerfile. Otherwise the installation and update will not work.
577 |
578 | ```dockerfile
579 | FROM nextcloud:apache
580 |
581 | ...
582 |
583 | ENV NEXTCLOUD_UPDATE=1
584 |
585 | CMD ["/usr/bin/supervisord"]
586 | ```
587 |
588 | **Updating** your own derived image is also very simple. When a new version of the Nextcloud image is available run:
589 |
590 | ```console
591 | docker build -t your-name --pull .
592 | docker run -d your-name
593 | ```
594 |
595 | Or for Docker Compose:
596 |
597 | ```console
598 | docker compose build --pull
599 | docker compose up -d
600 | ```
601 |
602 | The `--pull` option tells docker to look for new versions of the base image. Then the build instructions inside your `Dockerfile` are run on top of the new image.
603 |
604 | # Migrating an existing installation
605 |
606 | You're already using Nextcloud and want to switch to docker? Great! Here are some things to look out for:
607 |
608 | 1. Define your whole Nextcloud infrastructure in a `compose.yaml` file and run it with `docker compose up -d` to get the base installation, volumes and database. Work from there.
609 |
610 | 2. Restore your database from a mysqldump (nextcloud\_db\_1 is the name of your db container)
611 |
612 | - To import from a MySQL dump use the following commands
613 |
614 | ```console
615 | docker cp ./database.dmp nextcloud_db_1:/dmp
616 | docker compose exec db sh -c "mysql --user USER --password PASSWORD nextcloud < /dmp"
617 | docker compose exec db rm /dmp
618 | ```
619 |
620 | - To import from a PostgreSQL dump use to following commands
621 |
622 | ```console
623 | docker cp ./database.dmp nextcloud_db_1:/dmp
624 | docker compose exec db sh -c "psql -U USER --set ON_ERROR_STOP=on nextcloud < /dmp"
625 | docker compose exec db rm /dmp
626 | ```
627 |
628 | 3. Edit your config.php
629 |
630 | 1. Set database connection
631 |
632 | - In case of MySQL database
633 |
634 | ```php
635 | 'dbhost' => 'db:3306',
636 | ```
637 |
638 | - In case of PostgreSQL database
639 |
640 | ```php
641 | 'dbhost' => 'db:5432',
642 | ```
643 |
644 | 2. Make sure you have no configuration for the `apps_paths`. Delete lines like these
645 |
646 | ```php
647 | 'apps_paths' => array (
648 | 0 => array (
649 | 'path' => OC::$SERVERROOT.'/apps',
650 | 'url' => '/apps',
651 | 'writable' => true,
652 | ),
653 | ),
654 | ```
655 |
656 | 3. Make sure to have the `apps` directory non writable and the `custom_apps` directory writable
657 |
658 | ```php
659 | 'apps_paths' => array (
660 | 0 => array (
661 | 'path' => '/var/www/html/apps',
662 | 'url' => '/apps',
663 | 'writable' => false,
664 | ),
665 | 1 => array (
666 | 'path' => '/var/www/html/custom_apps',
667 | 'url' => '/custom_apps',
668 | 'writable' => true,
669 | ),
670 | ),
671 | ```
672 |
673 | 4. Make sure your data directory is set to /var/www/html/data
674 |
675 | ```php
676 | 'datadirectory' => '/var/www/html/data',
677 | ```
678 |
679 | 4. Copy your data (nextcloud_app_1 is the name of your Nextcloud container):
680 |
681 | ```console
682 | docker cp ./data/ nextcloud_app_1:/var/www/html/
683 | docker compose exec app chown -R www-data:www-data /var/www/html/data
684 | docker cp ./theming/ nextcloud_app_1:/var/www/html/
685 | docker compose exec app chown -R www-data:www-data /var/www/html/theming
686 | docker cp ./config/config.php nextcloud_app_1:/var/www/html/config
687 | docker compose exec app chown -R www-data:www-data /var/www/html/config
688 | ```
689 |
690 | If you want to preserve the metadata of your files like timestamps, copy the data directly on the host to the named volume using plain `cp` like this:
691 |
692 | ```console
693 | cp --preserve --recursive ./data/ /path/to/nextcloudVolume/data
694 | ```
695 |
696 | 5. Copy only the custom apps you use (or simply redownload them from the web interface):
697 |
698 | ```console
699 | docker cp ./custom_apps/ nextcloud_data:/var/www/html/
700 | docker compose exec app chown -R www-data:www-data /var/www/html/custom_apps
701 | ```
702 |
703 | # Questions / Issues
704 |
705 | If you got any questions or problems using the image, please visit our [Github Repository](https://github.com/nextcloud/docker) and write an issue.
706 |
707 | # Image Variants
708 |
709 | The `nextcloud` images come in many flavors, each designed for a specific use case.
710 |
711 | ## `nextcloud:<version>`
712 |
713 | This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
714 |
715 | ## `nextcloud:<version>-alpine`
716 |
717 | This image is based on the popular [Alpine Linux project](https://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
718 |
719 | This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use [musl libc](https://musl.libc.org) instead of [glibc and friends](https://www.etalabs.net/compare_libcs.html), so software will often run into issues depending on the depth of their libc requirements/assumptions. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
720 |
721 | To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).
722 |
723 | # License
724 |
725 | View [license information](https://github.com/nextcloud/server/blob/master/COPYING-README) for the software contained in this image.
726 |
727 | 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).
728 |
729 | Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `nextcloud/` directory](https://github.com/docker-library/repo-info/tree/master/repos/nextcloud).
730 |
731 | 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.
732 |
```