dokcer布署moontv多次显示构建失败,用另一台飞牛NAS能布署成功,两台硬件配置相同。
1、以下为compose内容:
services:
moontv-core:
image: ghcr.io/senshinya/moontv:latest
container_name: moontv
restart: unless-stopped
ports:
- '3560:3000'
environment:
- USERNAME=admin
- PASSWORD=@l123456Y
- NEXT_PUBLIC_STORAGE_TYPE=redis
- REDIS_URL=redis://moontv-redis:6379
- NEXT_PUBLIC_ENABLE_REGISTER=true
networks:
- moontv-network
depends_on:
- moontv-redis
# 如需自定义配置,可挂载文件
# volumes:
# - ./config.json:/app/config.json:ro
moontv-redis:
image: redis
container_name: moontv-redis
restart: unless-stopped
networks:
- moontv-network
# 如需持久化
# volumes:
# - ./data:/data
networks:
moontv-network:
driver: bridge
2、moontv构建失败显示内容:
moontv-redis Pulling
b1badc6e5066 Pulling fs layer
e51f60c71d8e Pulling fs layer
311d9cf20af5 Pulling fs layer
f22261c94fe4 Pulling fs layer
6f34ca96de3f Pulling fs layer
4f4fb700ef54 Pulling fs layer
63edde0222ea Pulling fs layer
6f34ca96de3f Waiting
4f4fb700ef54 Waiting
63edde0222ea Waiting
f22261c94fe4 Waiting
e51f60c71d8e Downloading [==================================================>] 1.103kB/1.103kB
e51f60c71d8e Download complete
311d9cf20af5 Downloading [==================================================>] 876B/876B
311d9cf20af5 Verifying Checksum
311d9cf20af5 Download complete
6f34ca96de3f Downloading [==================================================>] 97B/97B
6f34ca96de3f Verifying Checksum
6f34ca96de3f Download complete
b1badc6e5066 Downloading [> ] 294.4kB/28.23MB
b1badc6e5066 Downloading [==> ] 1.179MB/28.23MB
4f4fb700ef54 Downloading [==================================================>] 32B/32B
4f4fb700ef54 Verifying Checksum
4f4fb700ef54 Download complete
f22261c94fe4 Downloading [> ] 245.3kB/24.19MB
b1badc6e5066 Downloading [===> ] 1.769MB/28.23MB
f22261c94fe4 Downloading [==> ] 982.6kB/24.19MB
63edde0222ea Downloading [==================================================>] 2.117kB/2.117kB
63edde0222ea Download complete
b1badc6e5066 Downloading [====> ] 2.359MB/28.23MB
f22261c94fe4 Downloading [===> ] 1.72MB/24.19MB
b1badc6e5066 Downloading [=====> ] 2.949MB/28.23MB
f22261c94fe4 Downloading [=====> ] 2.457MB/24.19MB
b1badc6e5066 Downloading [======> ] 3.538MB/28.23MB
f22261c94fe4 Downloading [======> ] 3.194MB/24.19MB
b1badc6e5066 Downloading [=======> ] 4.128MB/28.23MB
f22261c94fe4 Downloading [=======> ] 3.686MB/24.19MB
b1badc6e5066 Downloading [========> ] 4.718MB/28.23MB
f22261c94fe4 Downloading [=========> ] 4.423MB/24.19MB
b1badc6e5066 Downloading [=========> ] 5.308MB/28.23MB
b1badc6e5066 Downloading [==========> ] 5.898MB/28.23MB
f22261c94fe4 Downloading [==========> ] 5.16MB/24.19MB
b1badc6e5066 Downloading [===========> ] 6.488MB/28.23MB
f22261c94fe4 Downloading [============> ] 5.898MB/24.19MB
b1badc6e5066 Downloading [============> ] 7.077MB/28.23MB
f22261c94fe4 Downloading [=============> ] 6.635MB/24.19MB
b1badc6e5066 Downloading [=============> ] 7.667MB/28.23MB
f22261c94fe4 Downloading [===============> ] 7.372MB/24.19MB
b1badc6e5066 Downloading [==============> ] 8.257MB/28.23MB
b1badc6e5066 Downloading [===============> ] 8.847MB/28.23MB
f22261c94fe4 Downloading [================> ] 8.11MB/24.19MB
b1badc6e5066 Downloading [================> ] 9.437MB/28.23MB
f22261c94fe4 Downloading [==================> ] 8.847MB/24.19MB
b1badc6e5066 Downloading [=================> ] 10.03MB/28.23MB
f22261c94fe4 Downloading [===================> ] 9.584MB/24.19MB
b1badc6e5066 Downloading [==================> ] 10.62MB/28.23MB
f22261c94fe4 Downloading [=====================> ] 10.32MB/24.19MB
b1badc6e5066 Downloading [===================> ] 11.21MB/28.23MB
b1badc6e5066 Downloading [====================> ] 11.8MB/28.23MB
f22261c94fe4 Downloading [======================> ] 11.06MB/24.19MB
b1badc6e5066 Downloading [=====================> ] 12.39MB/28.23MB
f22261c94fe4 Downloading [========================> ] 11.8MB/24.19MB
b1badc6e5066 Downloading [======================> ] 12.98MB/28.23MB
f22261c94fe4 Downloading [=========================> ] 12.53MB/24.19MB
b1badc6e5066 Downloading [========================> ] 13.57MB/28.23MB
b1badc6e5066 Downloading [=========================> ] 14.16MB/28.23MB
f22261c94fe4 Downloading [===========================> ] 13.27MB/24.19MB
b1badc6e5066 Downloading [==========================> ] 14.75MB/28.23MB
f22261c94fe4 Downloading [============================> ] 14.01MB/24.19MB
b1badc6e5066 Downloading [===========================> ] 15.33MB/28.23MB
f22261c94fe4 Downloading [=============================> ] 14.5MB/24.19MB
b1badc6e5066 Downloading [============================> ] 15.92MB/28.23MB
f22261c94fe4 Downloading [===============================> ] 15.24MB/24.19MB
b1badc6e5066 Downloading [=============================> ] 16.51MB/28.23MB
f22261c94fe4 Downloading [=================================> ] 15.97MB/24.19MB
b1badc6e5066 Downloading [==============================> ] 17.1MB/28.23MB
b1badc6e5066 Downloading [===============================> ] 17.69MB/28.23MB
f22261c94fe4 Downloading [==================================> ] 16.71MB/24.19MB
b1badc6e5066 Downloading [================================> ] 18.28MB/28.23MB
f22261c94fe4 Downloading [====================================> ] 17.45MB/24.19MB
b1badc6e5066 Downloading [=================================> ] 18.87MB/28.23MB
f22261c94fe4 Downloading [=====================================> ] 18.19MB/24.19MB
b1badc6e5066 Downloading [==================================> ] 19.46MB/28.23MB
f22261c94fe4 Downloading [======================================> ] 18.68MB/24.19MB
b1badc6e5066 Downloading [===================================> ] 20.05MB/28.23MB
f22261c94fe4 Downloading [========================================> ] 19.41MB/24.19MB
b1badc6e5066 Downloading [====================================> ] 20.64MB/28.23MB
f22261c94fe4 Downloading [=========================================> ] 19.91MB/24.19MB
b1badc6e5066 Downloading [=====================================> ] 21.23MB/28.23MB
f22261c94fe4 Downloading [==========================================> ] 20.64MB/24.19MB
b1badc6e5066 Downloading [======================================> ] 21.82MB/28.23MB
b1badc6e5066 Downloading [=======================================> ] 22.41MB/28.23MB
f22261c94fe4 Downloading [============================================> ] 21.38MB/24.19MB
b1badc6e5066 Downloading [========================================> ] 23MB/28.23MB
f22261c94fe4 Downloading [=============================================> ] 21.87MB/24.19MB
b1badc6e5066 Downloading [=========================================> ] 23.59MB/28.23MB
f22261c94fe4 Downloading [==============================================> ] 22.61MB/24.19MB
b1badc6e5066 Downloading [==========================================> ] 24.18MB/28.23MB
f22261c94fe4 Downloading [================================================> ] 23.35MB/24.19MB
b1badc6e5066 Downloading [===========================================> ] 24.77MB/28.23MB
f22261c94fe4 Downloading [=================================================> ] 24.08MB/24.19MB
b1badc6e5066 Downloading [============================================> ] 25.36MB/28.23MB
f22261c94fe4 Download complete
b1badc6e5066 Downloading [=============================================> ] 25.95MB/28.23MB
b1badc6e5066 Downloading [===============================================> ] 26.54MB/28.23MB
b1badc6e5066 Downloading [================================================> ] 27.13MB/28.23MB
b1badc6e5066 Downloading [=================================================> ] 27.72MB/28.23MB
b1badc6e5066 Download complete
b1badc6e5066 Extracting [> ] 294.9kB/28.23MB
b1badc6e5066 Extracting [========> ] 5.014MB/28.23MB
b1badc6e5066 Extracting [================> ] 9.142MB/28.23MB
b1badc6e5066 Extracting [=====================> ] 12.09MB/28.23MB
b1badc6e5066 Extracting [================================> ] 18.58MB/28.23MB
b1badc6e5066 Extracting [=========================================> ] 23.3MB/28.23MB
b1badc6e5066 Extracting [==========================================> ] 23.89MB/28.23MB
b1badc6e5066 Extracting [===============================================> ] 26.84MB/28.23MB
b1badc6e5066 Extracting [================================================> ] 27.43MB/28.23MB
b1badc6e5066 Extracting [==================================================>] 28.23MB/28.23MB
b1badc6e5066 Pull complete
e51f60c71d8e Extracting [==================================================>] 1.103kB/1.103kB
e51f60c71d8e Extracting [==================================================>] 1.103kB/1.103kB
e51f60c71d8e Pull complete
311d9cf20af5 Extracting [==================================================>] 876B/876B
311d9cf20af5 Extracting [==================================================>] 876B/876B
311d9cf20af5 Pull complete
f22261c94fe4 Extracting [> ] 262.1kB/24.19MB
f22261c94fe4 Extracting [=============> ] 6.291MB/24.19MB
f22261c94fe4 Extracting [==========================> ] 12.85MB/24.19MB
f22261c94fe4 Extracting [====================================> ] 17.83MB/24.19MB
f22261c94fe4 Extracting [================================================> ] 23.59MB/24.19MB
f22261c94fe4 Extracting [==================================================>] 24.19MB/24.19MB
f22261c94fe4 Pull complete
6f34ca96de3f Extracting [==================================================>] 97B/97B
6f34ca96de3f Extracting [==================================================>] 97B/97B
6f34ca96de3f Pull complete
4f4fb700ef54 Extracting [==================================================>] 32B/32B
4f4fb700ef54 Extracting [==================================================>] 32B/32B
4f4fb700ef54 Pull complete
63edde0222ea Extracting [==================================================>] 2.117kB/2.117kB
63edde0222ea Extracting [==================================================>] 2.117kB/2.117kB
63edde0222ea Pull complete
moontv-redis Pulled
moontv-core Pulling
moontv-core Error manifest unknown
Error response from daemon: manifest unknown
Exited:0