Giter VIP home page Giter VIP logo

Comments (6)

cqgis avatar cqgis commented on May 13, 2024

噢,对了,我的docker 版本如下:

Client:
 Version:       18.03.0-ce
 API version:   1.37
 Go version:    go1.9.4
 Git commit:    0520e24
 Built: Wed Mar 21 23:06:28 2018
 OS/Arch:       windows/amd64
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:      18.03.0-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.4
  Git commit:   0520e24
  Built:        Wed Mar 21 23:14:32 2018
  OS/Arch:      linux/amd64
  Experimental: true

from aria2-ariang-x-docker-compose.

wahyd4 avatar wahyd4 commented on May 13, 2024

因为你在windows 上面运行,对吧?在docker-compose.yml 里面有这样的代码:

services:
  nextcloud:
    image: wonderfall/nextcloud
    volumes:
      - /data/nextcloud:/data
      - /data:/user-files
    restart: always

volumes 下面的目录,在windows 下面是不存在的哦,所有你可以去掉或者对应修改成windows 下面的目录试试。

通常情况在在windows 上直接运行都会有或多或少一些问题,你可以试试下载 ubuntu 子系统, 在ubuntu 里面安装docker 再试试

from aria2-ariang-x-docker-compose.

cqgis avatar cqgis commented on May 13, 2024

是的,我是在windows下运行的。那个映射地址我是修改了的,否则运行docker-compose up就会报错,windows 10的ubuntu子系统好像不能安装docker吧?

from aria2-ariang-x-docker-compose.

wahyd4 avatar wahyd4 commented on May 13, 2024

from aria2-ariang-x-docker-compose.

cqgis avatar cqgis commented on May 13, 2024

我在另外一个windows10的电脑上同样的问题。运行 docker ps两个容器运行正常:

CONTAINER ID        IMAGE                                COMMAND                  CREATED             STATUS              PORTS                                                                          NAMES
67936e7aae14        wahyd4/aria2-ui:nextcloud            "/bin/sh /root/conf/…"   2 minutes ago       Up 17 seconds       0.0.0.0:443->443/tcp, 0.0.0.0:6800->6800/tcp, 2015/tcp, 0.0.0.0:8000->80/tcp   nextcloud_aria2_1
4963bd489efd        wonderfall/nextcloud                 "run.sh"                 2 minutes ago       Up 18 seconds       8888/tcp                                                                       nextcloud_nextcloud_1

from aria2-ariang-x-docker-compose.

cqgis avatar cqgis commented on May 13, 2024

Hello,我想我应该是找到原因了。容器启动后,有一个比较长的配置过程,我在配置完成之前访问,所以返回了502。

nextcloud_1  | Updating permissions in /data...
nextcloud_1  | Updating permissions in /config...
nextcloud_1  | Updating permissions in /apps2...
nextcloud_1  | Updating permissions in /var/log...
nextcloud_1  | Updating permissions in /php...
nextcloud_1  | Updating permissions in /nginx...
nextcloud_1  | Updating permissions in /tmp...
nextcloud_1  | Updating permissions in /etc/s6.d...
nextcloud_1  | Done updating permissions.
nextcloud_1  | Starting automatic configuration...
nextcloud_1  | Automatic configuration finished.

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.