Giter Site home page Giter Site logo

Comments (5)

wahyd4 avatar wahyd4 commented on May 13, 2024

童鞋已经很简单了啊。安装 docker 自动不了。

  1. 安装 docker, docker-compose
  2. clone 代码
  3. cd 到你需要的目录,docker-compose up -d

from aria2-ariang-x-docker-compose.

ptsa avatar ptsa commented on May 13, 2024

童靴 我说的是开机自启动, 不是自动安装

from aria2-ariang-x-docker-compose.

wahyd4 avatar wahyd4 commented on May 13, 2024

from aria2-ariang-x-docker-compose.

wahyd4 avatar wahyd4 commented on May 13, 2024

现在 docker 镜像在被意外停掉后就会自动重启了。前提是 docker 进程还在,比如,主机被强制重启。那么 docker 镜像会自动重启。
使用:

docker-compose stop
git pull
docker-compose up -d

from aria2-ariang-x-docker-compose.

lgh06 avatar lgh06 commented on May 13, 2024

提醒。
CentOS7。应该在安装完Docker后执行这两句:

systemctl start docker.service
systemctl enable docker.service  

然后再docker-compose
(通过docker官网的script方式安装的docker,没有自动启动)

from aria2-ariang-x-docker-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.