centos7下docker安装出错

安装报错 · yangxiansen · 于 2年前 发布 · 733 次阅读

我在centos7下使用docker安装报以下错误

mysql uses an image, skipping
mongodb uses an image, skipping
web uses an image, skipping
xunsearch uses an image, skipping
redis uses an image, skipping
Building php
Step 1/11 : FROM php:7.1.13-fpm
 ---> 3ac64cb99e11
Step 2/11 : RUN apt-get update && apt-get install -y         libfreetype6-dev         librabbitmq-dev         libssh-dev         libjpeg62-turbo-dev         libmcrypt-dev         libpng12-dev         libicu-dev         libxml2-dev         libssl-dev         git         wget         ssh         libpcre3-dev         --no-install-recommends
 ---> Running in cb0e5448d5c6
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [846 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 1min 56s (87.4 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'php' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y         libfreetype6-dev         librabbitmq-dev         libssh-dev         libjpeg62-turbo-dev         libmcrypt-dev         libpng12-dev         libicu-dev         libxml2-dev         libssl-dev         git         wget         ssh         libpcre3-dev         --no-install-recommends' returned a non-zero code: 100
共收到 2 条回复 问题提问
Fecmall#12年前 0 个赞

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

应该是网络问题

Fecmall#22年前 0 个赞

参看一下帖子:http://www.fecshop.com/topic/1834

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics