p15989156422
CY_Leung
2020-12-07 00:10

docker部署问题咨询

  • ubuntu
  • centos
  • 云计算

各位前辈好,本人在部署一个工具是遇到关于docker部署的问题,详情如图:

一、我的部署命令

[root@JPgithub Github-Monitor]# docker-compose up -d
Creating network "github-monitor_default" with the default driver

二、报错信息

(1)应该是aliyun源的问题

Step 5/18 : RUN apt-get update
 ---> Running in 719540dabd73
Err:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
  Temporary failure resolving 'mirrors.aliyun.com'
Reading package lists...
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/xenial/InRelease  Temporary failure resolving 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/xenial-updates/InRelease  Temporary failure resolving 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/xenial-backports/InRelease  Temporary failure resolving 'mirrors.aliyun.com'
W: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/xenial-security/InRelease  Temporary failure resolving 'mirrors.aliyun.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
 

(2)这个不太清楚

Step 6/18 : RUN apt-get install -y python3 python3-dev python3-pip nginx supervisor libmysqlclient-dev redis-server libssl-dev libffi-dev &&     rm -rf /var/lib/apt/lists/*
 ---> Running in c8e4f8654ce8
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python3
E: Unable to locate package python3-dev
 

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答