# install docker and docker compose
sudo apt-get update
sudo apt-get install git docker-compose
curl -sSL https://get.docker.com | sh
# fetch project
cd ~
git clone https://github.com/tolstoyevsky/mmb.git
cd mmb
# make docker images
# retry if stuck
sudo ./mmb.sh mariadb armhf
sudo ./mmb.sh nextcloud armhf
# run in daemon
cd mariadb
sudo docker-compose -f docker-compose-armhf.yml up -d
cd ../nextcloud
sudo docker-compose -f docker-compose-armhf.yml up -d
# login and config
http://[IP-address of your Raspberry Pi]:8001/nc
来自博客[墙]