This tutorial shows how to install Collabora online server on Ubuntu using a Docker image built by Collabora and Nextcloud. Then integrate it with an existing Nextcloud server. Step 1: Install Docker on Ubuntu. If you want the latest Docker version, you can install Docker from Docker’s APT repository. For simplicity, this tutorial installs. Nov 04, 2020 Grab a coffee ☕. Sudo apt update && sudo apt upgrade. Make sure you have docker-compose installed. Sudo apt install docker-compose. Create your Nextcloud Directory. Sudo mkdir nextcloud && cd nextcloud. Create docker-compose.yaml file. Use the following as a template. Grab a coffee ☕. Sudo apt update && sudo apt upgrade. Make sure you have docker-compose installed. Sudo apt install docker-compose. Create your Nextcloud Directory. Sudo mkdir nextcloud && cd nextcloud. Create docker-compose.yaml file. Use the following as a template. The installation is really straightforward: docker run -d -p 3310:3310 -name clamav mk0x/docker-clamav. Clamav container will be accessible on port 3310. Next step is to link your nextcloud container to the clamav container, use the –link flag with your nextcloud container.link clamav:av.
I used the docker documentation for Debian which worked fine, but you’ll find instructions for other Linux flavors, MacOS and Windows there too.
The x86 version of NextCloudPi docker container features the latest Nextcloudpi networking and system management extras.
Download it with:
DOMAIN should be your trusted domain: the URL or IP that will be used to access.
Any folder can be used instead of the volume ncdata to hold the Nextcloud data. Without full PATH ncdata will be in /var/lib/docker/volumes/ of the host.
Optionally for nc-backups you can insert:
That’s it. Visit https://DOMAIN//activate/ copy and save auto generated passwords, and start using your Nextcloud instance.
Check for and list running containers with:
Check for and list created containers with:
Stop, start and remove an existing container
As nc-datadir and nc-automount are not available in ncp’s docker image
This is how I mount ncdata persistently.
sudo mkdir /media/ncp
(Mine looks like this)
lrwxrwxrwx 1 root root 15 Aug 11 09:10 29075e46-f0d4-44e2-a9e7-55ac02d6e6cc -> …/…/mmcblk0p2
lrwxrwxrwx 1 root root 10 Aug 11 09:10 35e98a80-8895-41f4-93e7-39940a1fda70 -> …/…/sda1
lrwxrwxrwx 1 root root 15 Aug 11 09:10 9304-D9FD -> …/…/mmcblk0p1
add line for your drive (copy/paste your drive’s UUID and change ext4 to btrfs if needed):
sudo mount -a
Now you can :
docker rm nextcloudpi
sudo mkdir /media/ncp/ncdata
docker run -d -p 4443:4443 -p 443:443 -p 80:80 -v /media/ncp/ncdata:/data –name nextcloudpi ownyourbits/nextcloudpi-armhf 192.168.n.nn
docker logs -f nextcloudpi
(ctrl+c to exit log)
extended quide to getting stared with docker is available on the forum at https://help.nextcloud.com/t/guide-to-getting-started-with-nextcloudpi-docker-in-2020/93396