环境:CentOS7
安装Docker和Compose
安装Docker
yum install -y docker git
安装docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose --version
克隆并运行项目
git clone https://github.com/solidnerd/docker-bookstack.git
cd docker-bookstack
docker-compose up
访问Web界面
http://{服务器地址}:8080