1. 安装docker
    1. 官方文档
    2. 安装步骤
      1. sudo apt-get remove docker docker-engine docker.io

      2. sudo apt-get update

      3. sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common

      4. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –

      5. sudo apt-key fingerprint 0EBFCD88

      6. sudo add-apt-repository \ “deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable”

      7. sudo apt-get update

      8. sudo apt-get install docker-ce

  2. 安装docker-compose
    1. 安装步骤

      1. 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

      2. sudo chmod +x /usr/local/bin/docker-compose

  3. 安装owncloud
    1. 安装步骤
      1. mkdir owncloud-docker-server

      2. cd owncloud-docker-server

      3. wget https://raw.githubusercontent.com/owncloud-docker/server/master/docker-compose.yml

      4. cat << EOF > .env OWNCLOUD_VERSION=10.0 OWNCLOUD_DOMAIN=pan.ccagml.com ADMIN_USERNAME=admin ADMIN_PASSWORD=admin HTTP_PORT=80 EOF

      5. docker-compose up -d

发表评论

电子邮件地址不会被公开。 必填项已用*标注