- 安装docker
- 官方文档
-
安装步骤
-
sudo apt-get remove docker docker-engine docker.io
-
sudo apt-get update
-
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
-
sudo apt-key fingerprint 0EBFCD88
-
sudo add-apt-repository \ “deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable”
-
sudo apt-get update
-
sudo apt-get install docker-ce
-
- 安装docker-compose
- 安装步骤
-
sudo curl -L “https://github.com/docker/compose/releases/download/1.23.1/docker-compose-(uname -s)-(uname -m)” -o /usr/local/bin/docker-compose
-
sudo chmod +x /usr/local/bin/docker-compose
-
- 安装步骤
- 安装owncloud
- 安装步骤
-
mkdir owncloud-docker-server
-
cd owncloud-docker-server
-
wget https://raw.githubusercontent.com/owncloud-docker/server/master/docker-compose.yml
-
cat << EOF > .env OWNCLOUD_VERSION=10.0 OWNCLOUD_DOMAIN=pan.ccagml.com ADMIN_USERNAME=admin ADMIN_PASSWORD=admin HTTP_PORT=80 EOF
-
docker-compose up -d
-
- 安装步骤