Skip to main content
WebsiteGitHub last commitGitHub commit activityGitHub IssuesDocker PullsDiscordLocalized

Pre-built Images

My Docker Hub Repo​

Images are automatically built and published to my Docker Repo via GitHub Actions.

tag

The latest tag will be the most up to date image

Available Tags​

TagDescription
latestMost up to date image (currently 34.0.6)
34.0.6Nextcloud 34.0.6
34.0.5Nextcloud 34.0.5
34.0.4Nextcloud 34.0.4
34.0.3Nextcloud 34.0.3
34.0.2Nextcloud 34.0.2
34.0.1Nextcloud 34.0.1
34.0.0Nextcloud 34.0.0
33.0.11Nextcloud 33.0.11
33.0.10Nextcloud 33.0.10
33.0.9Nextcloud 33.0.9
33.0.8Nextcloud 33.0.8
33.0.7Nextcloud 33.0.7
33.0.6Nextcloud 33.0.6
33.0.5Nextcloud 33.0.5
33.0.4Nextcloud 33.0.4
33.0.3Nextcloud 33.0.3
33.0.2Nextcloud 33.0.2
33.0.1Nextcloud 33.0.1
33.0.0Nextcloud 33.0.0
32.0.15Nextcloud 32.0.15
32.0.14Nextcloud 32.0.14
32.0.13Nextcloud 32.0.13
32.0.12Nextcloud 32.0.12
32.0.11Nextcloud 32.0.11
32.0.10Nextcloud 32.0.10
32.0.9Nextcloud 32.0.9
32.0.8Nextcloud 32.0.8
32.0.7Nextcloud 32.0.7
32.0.6Nextcloud 32.0.6
32.0.5Nextcloud 32.0.5
32.0.4Nextcloud 32.0.4
32.0.3Nextcloud 32.0.3
32.0.2Nextcloud 32.0.2
32.0.1Nextcloud 32.0.1
31.0.14Nextcloud 31.0.14
31.0.13Nextcloud 31.0.13
31.0.12Nextcloud 31.0.12
31.0.11Nextcloud 31.0.11
31.0.10Nextcloud 31.0.10
31.0.9Nextcloud 31.0.9
31.0.8Nextcloud 31.0.8
31.0.7Nextcloud 31.0.7
31.0.6Nextcloud 31.0.6
31.0.5Nextcloud 31.0.5
31.0Nextcloud 31.0
30.0.11Nextcloud 30.0.11
30.0.10Nextcloud 30.0.10
30.0.8Nextcloud 30.0.8
30.0.7Nextcloud 30.0.7
30.0.6Nextcloud 30.0.6
30.0.5Nextcloud 30.0.5
30.0.4Nextcloud 30.0.4
30.0.2Nextcloud 30.0.2
30.0.1Nextcloud 30.0.1
29.0.7Nextcloud 29.0.7
29.0.6Nextcloud 29.0.6
29.0.4Nextcloud 29.0.4
28.0.6Nextcloud 28.0.6
28.0.5Nextcloud 28.0.5
28.0.4-customNextcloud 28.0.4-custom
28.0.6-customNextcloud 28.0.6-custom
31.0.5devNextcloud 31.0.5dev
Auto-updated

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:

ArchitectureTypical hardware
linux/amd64Standard x86-64 servers and PCs
linux/arm64Raspberry Pi 4/5 (64-bit OS), AWS Graviton, Oracle Ampere, Apple Silicon
note

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 notifications
  • pdlib - PHP extension for dlib (face recognition)
  • bz2 - Bzip2 compression
  • smbclient - 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​

ScheduleTask
Every 5 minNextcloud cron.php
Every 10 minGeneral background tasks
2:15 AMMemories indexing
2:30 AMFace recognition
2:45 AMRecognize processing
3:00 AMPreview generation
3:30 AMPreview 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/amd64 and linux/arm64. Each architecture is built natively on its own runner rather than under QEMU emulation, since compiling dlib is 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 main that touches the Dockerfile, entrypoint/cron scripts, or supervisord.conf. Rebuilds and publishes the multi-arch bankaitech/nextcloud:latest immediately, 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:production base image and rebuilds (publishing both :latest and the matching version tag, e.g. 34.0.5, as multi-arch) whenever upstream has actually changed — including when upstream re-publishes production with a security fix, such as a PHP CVE patch. It also forces a rebuild if :latest can'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/nextcloud within 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.
Setup note

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​

PortService
80Apache (Nextcloud)
7867notify_push (High Performance Backend)
Buy me a beer

Changelog

docs: update Nextcloud Docker Hub tags [skip ci]
docs: document multi-arch image support and CI/CD workflows
docs: update Nextcloud Docker Hub tags [skip ci]
docs: update Nextcloud Docker Hub tags [skip ci]
docs: update Nextcloud Docker Hub tags [skip ci]


💬 Discord Community Chat

Join the conversation! Comments here sync with our Discord community.

💬 Recent Comments

Loading comments...