Skip to content

docker (nextcloud/docker)

Community-maintained Docker images for running your own Nextcloud file sync server

Copyleft (OSI) · AGPL-3.0

Listed by , founder & editor

75

Health

Thriving

Overview

Stars

7,442

Last commit

10 days ago

Nov 2026

Repository age

10 years

since Jul 2016

Latest version

v2026.6.2

Jun 2026

Contributors

–

6 active in 90 days

Releases

6

last 12 months

Language

Shell

This repository holds the Docker images for Nextcloud, the self-hosted platform for storing and sharing files, calendars, contacts and mail from any device. The images are maintained by community volunteers and are meant for experienced administrators. Nextcloud GmbH points people who want a simpler setup to its separate All-in-One container.

There are two image variants. The apache tag bundles a full Nextcloud install with the Apache web server and is the default for the latest tag. The fpm tag runs php-fpm and needs a separate web server that proxies requests to the FastCGI port. You can pair either with an external database, Redis caching, SMTP mail settings and object storage as primary storage.

Configuration happens through environment variables, hook folders and Docker secrets, and you can run the occ command line tool inside the container. Examples cover docker compose, reverse proxies, HTTPS, updates and migrating an existing install. It is licensed AGPL-3.0 and suits people replacing hosted cloud storage with a server they control.

Who it's for

Sysadmins running their own file sync

The apache and fpm images fit into existing container stacks, reverse proxies and external databases.

Skip if: You want the simplest supported setup, in which case use the Nextcloud All-in-One container.

Homelab users replacing hosted cloud storage

You keep files, calendars and contacts on hardware you control.

Skip if: You do not want to handle updates, backups and HTTPS yourself.

The problem it solves

Hosted cloud storage puts your files, calendars and contacts on someone else's servers. These images let you run Nextcloud on your own machine with a container setup you can configure and update.

Strengths

  • Two variants: apache for quick setup, fpm for use with your own web server
  • Supports external databases, Redis caching and object storage
  • Configuration through environment variables, hook folders and Docker secrets
  • Active repository with 14 releases in the last year

Trade-offs

  • Community-maintained and aimed at expert users
  • Does not cover the full Nextcloud Hub feature set the way All-in-One does
  • You manage HTTPS, reverse proxy, backups and updates yourself
  • Help is handled through the community forum, not bug reports

Self-host docker (nextcloud/docker)

Self-hostable
Yes

Frequently asked questions

Is it free?

Yes. The images are open source under the AGPL-3.0 license.

Can I self-host it?

Yes. That is its purpose. You run it with Docker or docker compose on your own server.

Which image should I pick?

Use apache for a quick start with the built-in web server. Use fpm if you already run a web server that can proxy to FastCGI.

Is this the official easy install?

No. Nextcloud GmbH recommends its All-in-One container for easy deployment, and this image is for expert use.

Similar tools in Cloud storage and file sync

Nimbus

Cloud storage and file sync

2k 137 13 months ago Dormant Apache-2.0

OpenCloud

Cloud storage and file sync

Self-hosted file sync and sharing server in Go that needs no database

6.4k 272 today Thriving Apache-2.0

Replaces Google Drive

Nextcloud Dev

Cloud storage and file sync

5.7k 2.1k today Thriving GPL-2.0

Pydio

Cloud storage and file sync

Self-hosted file sharing platform in Go for organizations that control their storage

2.3k 233 10 days ago Active AGPL-3.0

Replaces DropboxGoogle Drive

SparkleShare

Cloud storage and file sync

5k 570 8 days ago Slowing GPL-3.0

Twake Drive

Cloud storage and file sync

Self-hosted file storage and sharing app for teams in the Twake and Cozy ecosystem

997 164 today Active AGPL-3.0

Replaces Google Drive