Pre-built Images
My Docker Hub Repo
Images are automatically built and published to my Docker Repo via GitHub Actions.
The latest tag will be the most up to date image
Available Tags
| Tag | Description |
|---|---|
latest | Most up to date image (currently 34.0.6) |
34.0.6 | Nextcloud 34.0.6 |
34.0.5 | Nextcloud 34.0.5 |
34.0.4 | Nextcloud 34.0.4 |
34.0.3 | Nextcloud 34.0.3 |
34.0.2 | Nextcloud 34.0.2 |
34.0.1 | Nextcloud 34.0.1 |
34.0.0 | Nextcloud 34.0.0 |
33.0.11 | Nextcloud 33.0.11 |
33.0.10 | Nextcloud 33.0.10 |
33.0.9 | Nextcloud 33.0.9 |
33.0.8 | Nextcloud 33.0.8 |
33.0.7 | Nextcloud 33.0.7 |
33.0.6 | Nextcloud 33.0.6 |
33.0.5 | Nextcloud 33.0.5 |
33.0.4 | Nextcloud 33.0.4 |
33.0.3 | Nextcloud 33.0.3 |
33.0.2 | Nextcloud 33.0.2 |
33.0.1 | Nextcloud 33.0.1 |
33.0.0 | Nextcloud 33.0.0 |
32.0.15 | Nextcloud 32.0.15 |
32.0.14 | Nextcloud 32.0.14 |
32.0.13 | Nextcloud 32.0.13 |
32.0.12 | Nextcloud 32.0.12 |
32.0.11 | Nextcloud 32.0.11 |
32.0.10 | Nextcloud 32.0.10 |
32.0.9 | Nextcloud 32.0.9 |
32.0.8 | Nextcloud 32.0.8 |
32.0.7 | Nextcloud 32.0.7 |
32.0.6 | Nextcloud 32.0.6 |
32.0.5 | Nextcloud 32.0.5 |
32.0.4 | Nextcloud 32.0.4 |
32.0.3 | Nextcloud 32.0.3 |
32.0.2 | Nextcloud 32.0.2 |
32.0.1 | Nextcloud 32.0.1 |
31.0.14 | Nextcloud 31.0.14 |
31.0.13 | Nextcloud 31.0.13 |
31.0.12 | Nextcloud 31.0.12 |
31.0.11 | Nextcloud 31.0.11 |
31.0.10 | Nextcloud 31.0.10 |
31.0.9 | Nextcloud 31.0.9 |
31.0.8 | Nextcloud 31.0.8 |
31.0.7 | Nextcloud 31.0.7 |
31.0.6 | Nextcloud 31.0.6 |
31.0.5 | Nextcloud 31.0.5 |
31.0 | Nextcloud 31.0 |
30.0.11 | Nextcloud 30.0.11 |
30.0.10 | Nextcloud 30.0.10 |
30.0.8 | Nextcloud 30.0.8 |
30.0.7 | Nextcloud 30.0.7 |
30.0.6 | Nextcloud 30.0.6 |
30.0.5 | Nextcloud 30.0.5 |
30.0.4 | Nextcloud 30.0.4 |
30.0.2 | Nextcloud 30.0.2 |
30.0.1 | Nextcloud 30.0.1 |
29.0.7 | Nextcloud 29.0.7 |
29.0.6 | Nextcloud 29.0.6 |
29.0.4 | Nextcloud 29.0.4 |
28.0.6 | Nextcloud 28.0.6 |
28.0.5 | Nextcloud 28.0.5 |
28.0.4-custom | Nextcloud 28.0.4-custom |
28.0.6-custom | Nextcloud 28.0.6-custom |
31.0.5dev | Nextcloud 31.0.5dev |
This table is automatically refreshed daily from Docker Hub by a GitHub Actions workflow.
Supported Architectures
Published images are multi-arch, so docker pull bankaitech/nextcloud:<tag> automatically selects the right variant for your host:
| Architecture | Typical hardware |
|---|---|
linux/amd64 | Standard x86-64 servers and PCs |
linux/arm64 | Raspberry Pi 4/5 (64-bit OS), AWS Graviton, Oracle Ampere, Apple Silicon |
Version tags published before multi-arch support (and any older than the rebuild workflow's range) may still be amd64 only. See Build & Publish Automation below.
Image Features
These images are based on nextcloud:production and include additional packages and configurations for enhanced functionality.
Installed Packages
cmake
ffmpeg
ghostscript
git
imagemagick
libmagickcore-7.q16-10-extra
inotify-tools
libbz2-dev
liblapack-dev
libopenblas-dev
libx11-dev
libdlib-dev
sudo
nano
exiftool
supervisor
curl
wget
gnupg2
unzip
gosu
PHP Extensions
inotify- File change notificationspdlib- PHP extension for dlib (face recognition)bz2- Bzip2 compressionsmbclient- SMB/CIFS support
Additional Features
- Apache Modules:
proxy,proxy_http,proxy_wstunnel,headers,rewrite - dlib: Machine learning toolkit for face recognition (Memories/Recognize apps)
- notify_push: High Performance Backend for Nextcloud (auto-installed from latest release)
- Supervisor: Process manager for running multiple services
- Cron Jobs: Pre-configured cron schedules for Nextcloud background tasks
- Docker Healthcheck: Built-in health monitoring
- PHP Memory Limit: Increased to 1024M
- Opcache Memory: Increased to 512M
Pre-configured Cron Jobs
| Schedule | Task |
|---|---|
| Every 5 min | Nextcloud cron.php |
| Every 10 min | General background tasks |
| 2:15 AM | Memories indexing |
| 2:30 AM | Face recognition |
| 2:45 AM | Recognize processing |
| 3:00 AM | Preview generation |
| 3:30 AM | Preview pre-generator |
Build & Publish Automation
Images are built and published automatically via several GitHub Actions workflows under .github/workflows in the nextcloud repo. Together they keep published images in sync with both this repo's own changes and upstream Nextcloud/PHP security patches, without manual rebuilds.
- Build Multi-Arch Image (reusable): Shared by the workflows below to publish
linux/amd64andlinux/arm64. Each architecture is built natively on its own runner rather than under QEMU emulation, since compilingdlibis far too slow when emulated. Each image is pushed by digest, then merged into a single multi-arch manifest under every requested tag. - Push Latest on Main: Triggers on a push to
mainthat touches theDockerfile, entrypoint/cron scripts, orsupervisord.conf. Rebuilds and publishes the multi-archbankaitech/nextcloud:latestimmediately, so fixes to this repo's own build go live right away. - Build and Publish Nextcloud Image: Runs hourly (plus manual dispatch or CI-relevant pushes). Tracks the upstream
nextcloud:productionbase image and rebuilds (publishing both:latestand the matching version tag, e.g.34.0.5, as multi-arch) whenever upstream has actually changed — including when upstream re-publishesproductionwith a security fix, such as a PHP CVE patch. It also forces a rebuild if:latestcan't be pulled yet, has no recorded base-digest label, or isn't yet multi-arch. Posts a Discord notification when a rebuild happens or the workflow fails. - Check Missing Nextcloud Version Tags: Manual dispatch only. Compares the strict numeric Nextcloud versions published upstream against the version tags already published under
bankaitech/nextcloudwithin a configurable range, and reports — or optionally builds and pushes — any that are missing, as multi-arch images. - Rebuild Patched Nextcloud Version Tags: Runs nightly (or manually with a dry-run preview). Revisits already-published version tags and rebuilds, re-labels, and re-pushes any whose upstream counterpart has since received a security patch, or that aren't yet multi-arch. Notifies Discord per rebuilt or failed tag.
The Discord notifications used by Build and Publish Nextcloud Image and Rebuild Patched Nextcloud Version Tags require a DISCORD_WEBHOOK_URL repository secret. Builds and rebuilds still run normally without it — notifications are simply skipped.
No manual build or push steps are required to keep images up to date.
Building the Image Locally
sudo docker build -t your-registry/nextcloud:latest .
This builds for your host's architecture (amd64 or arm64). To pin the base image, pass --build-arg BASE_IMAGE=nextcloud:<version>. The first build compiles dlib from source and is slow, especially under emulation, so build each architecture on matching hardware when possible.
Quick Start
docker pull bankaitech/nextcloud:latest
Or for a specific version:
docker pull bankaitech/nextcloud:32.0.6
Exposed Ports
| Port | Service |
|---|---|
80 | Apache (Nextcloud) |
7867 | notify_push (High Performance Backend) |
💬 Recent Comments