Install Docker on your Linux installation by following the official documentation. The easiest way is to install it using this script:
curl -fsSL https://get.docker.com | sudo sh
If you need IPv6 support, enable it by following the guide.
Run this command in your terminal:
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 want to adjust Nextcloud's datadir to store files in a different location than the default volume.
Open the AIO interface at: