Are you a Linux user looking to install the Nextcloud All-in-One (AIO) Docker image? In this blog, we walk you through the steps, just like we did in our last AIO Guide for Windows 10 & 11.
Nextcloud All-in-One is a Docker-based project that allows you to install just one container that does the heavy lifting of creating and managing all containers needed for a full-blown Nextcloud installation. Nextcloud AIO not only provides easy deployment and maintenance of many Nextcloud features included, but you can also expect a user-friendly interface, stress-free updates, and a more simplistic approach for getting most features to work out of the box.
Nextcloud AIO includes:
Nextcloud
High-performance backend for Nextcloud Files
Nextcloud Office (optional)
High-performance backend for Nextcloud Talk and TURN-server (optional)
“With using Nextcloud All-in-One compared to the other installation methods, I found the performance is substantially better, especially on an office server.”
Brandon Hopkins
Founder at TechHut Media
Read on for a clear and easy-to-follow step-by-step guide for how to set up an AIO for a Linux PC successfully.
Guide for AIO on Linux
The following instructions are valid for a Linux PC (e.g., with Ubuntu 22.04 LTS) with at least 4GB of RAM and 2 cores.
You will need to obtain a public domain and be able to open ports for the guide to work properly. Make sure that you are not behind CGNAT, as it will not work with that either.
In addition, please note that the instructions are for a setup without a web server or reverse proxy (like Apache, Nginx, etc.) already being in place. If you want to run it behind a web server or reverse proxy, check this documentation.
Install Docker
Install Docker on your Linux installation by following the official documentation. The easiest way is to install it by using the convenience script:
3. Now, open the Terminal and start AIO with this command:
# For Linux and without a web server or reverse proxy (like Apache, Nginx and else) already in place:
sudo docker run \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
ghcr.io/nextcloud-releases/all-in-one:latest
Note: You may be interested in adjusting Nextcloud’s datadir to store the files in a different location than the default Docker volume. See this documentation on how to do it.
4. Next, you can open the AIO interface on https://localhost:8080 or https://the.servers.ip.address:8080.
Why you should use an ip-address
It’s important to always use an ip-address if you access this port, and not a domain. Otherwise, you risk that HSTS might block access to it later!
You need to accept the self-signed certificate. Then you should see this:
Alternatively, if ports 80 and 8443 should be opened in your firewall/router and a domain is configured to point to your server, you can reach the AIO interface with a valid certificate using https://your-domain.com:8443.
5. Click on “Open Nextcloud AIO login” and paste your password:
6. Then, you should see the AIO interface:
7. Next, type in your public domain that you you’ve got before doing this guide. The interface should help you figure out the exact steps. (Set up DDNS for your domain to point to your public IP, port-forward at least ports 443/tcp, 3478/udp, and 3478/tcp to your Linux machine.)
8. After you’ve set it up correctly, it should allow you to pass to the next step, where you can configure the wanted optional add-ons and the timezone, and click on “Start containers” to download and start them.
9. At this point, you should see a spinner that will take a while depending on your internet speed. It should take around 10 minutes or more.
10. When all containers are downloaded and started, you will see this screen showing the containers still starting, which will do the first installation for you:
11. When everything is done, you should see this screen:
12. Finally, you can now open your new Nextcloud instance and log in with the given admin credentials.
That’s it! Everything is set and ready for production.
Discover more about Nextcloud All-in-One and its many options
This Nextcloud AIO manual was developed by Simon Lindner, Software Engineer at Nextcloud. You can check out our Nextcloud podcasts for an interview with Simon, where he explains more about his interest in making Nextcloud and open source software accessible to everyone.
Make sure to read our guide to set up Community Containers, developed by the Nextcloud community, for your Nextcloud instance. With these useful features, including Caddy, Fail2ban, and Pi-hole, you can enhance your Nextcloud AIO in a couple of clicks.
How do you modernize digital collaboration in government without losing control over your data?
Austria’s Federal Ministry for Economy, Energy and Tourism (BMWET) faced this challenge in 2024 - and decided to take a clear, pragmatic step toward digital sovereignty.
Nextcloud Hub 25 Autumn makes it easier to get started with powerful collaboration while fully in control of your data. From global design updates to improved usability and performance, discover our latest release in this blog.
Passionate about data privacy and Nextcloud? We invite you speak at the Nextcloud Community Conference to share your experience, knowledge and news with the community!
For the ninth time, Nextcloud has been nominated for the CloudComputing-Insider Readers’ Choice Award in the category of Cloud Content Management. We’d love to reach the top again! And we’re looking for the support of you and everyone else in our amazing community to get there. Nextcloud as the best Cloud Content Management tool? Only […]
In the Nextcloud 2024 wrap-up, we want to take a moment to celebrate this year's achievements. Join us as we continue to reimagine what’s possible - shaping a world where open source, privacy and connection come together and drive progress for the greater good.
Organisations, small and large, need a way to ensure the resiliency and digital sovereignty of their operations – an open-source, privacy-respecting alternative to Teams. And today, we present that solution - Nextcloud Talk.
Nextcloud has been recognized with the World Summit Award Germany that selects and promotes local digital innovation improving society, aiming to contribute to the United Nations' agenda of sustainable development goals.
DIE ZEIT, a prominent German outlet, interviewed Nextcloud’s founder Frank Karlitschek for an article on Microsoft’s anti-competitive behaviour on the European office software market. Read for a recap of the article and the key takeaways.
MagentaCLOUD’s migration to Nextcloud in 2021 resulted in a fully equipped Online Storage with an integrated online office suite that further improves the user experience, flexibility and security for customers.
We bring you a major update to the Nextcloud AI Assistant, plus the news we work with several big hosting providers like IONOS and OVHcloud to bring AI-as-a-Service options to you!
Bechtle and Nextcloud announce today a complete managed collaboration platform for the public sector that requires no tender and can be deployed immediately.
Discover how to make the switch from ownCloud to Nextcloud. Our quick guide provides insights into the migration process, helping you make the transition smoothly.
Today, US-based file sync & share vendor Kiteworks announced their acquisition of ownCloud and Dracoon. Kiteworks points out that their customers now have access to their file-sharing application. It is to be expected they will not maintain 3 similar products, but customers will have to migrate to the US firms’ platform or look for another […]
As part of Schleswig-Holstein's state digitization strategy, the state chancellery has announced they will work with Nextcloud to develop AI for working with government documents. This comes just after we announced the first private AI assistant last weekend with Hub 6. The German state already uses Nextcloud and their AI strategy aligns with our work on ethical, local AI technologies.
Over the last year, AI has become a popular topic. Some is hype, some is substance. Some is good, some is bad. We want to give you the good, not the bad, and ignore the hype! AI has a ton of opportunity – but also risk. So we put you in control – off by […]
Our mission is to help individuals, businesses and organizations achieve digital sovereignty and regain control over their data. Nextcloud Hub 5 marks a massive step forward towards achieving this mission, putting the power of AI into your hands – in a way that keeps you in control. New release, new possibilities Hub 5 builds on […]
Are you a Linux user looking to install the Nextcloud All-in-One (AIO) Docker image? In this blog, we walk you through the steps, just like we did in our last AIO Guide for Windows 10 & 11. Nextcloud All-in-One is a Docker-based project that allows you to install just one container that does the heavy […]
We save some cookies to count visitors and make the site easier to use. This doesn't leave our server and isn't to track you personally!
See our Privacy Policy for more information. Customize
Statistics cookies collect information anonymously and help us understand how our visitors use our website. We use cloud-hosted Matomo
Service:Matomo
Cookies description:
_pk_ses*: Counts the first visit of the user
_pk_id*: Helps not to double count the visits.
mtm_cookie_consent: Remembers that consent for storing and using cookies was given by the user.
Cookies expiry:_pk_ses*: 30 minutes
_pk_id*: 28 days
mtm_cookie_consent: 30 days