docker - 找不到 Debian 10 生产包

标签 docker debian

嗨,我有一个 docker 镜像,我注意到昨天之后我无法运行它,因为它运行了一些存储库 url 无效的错误。当我检查时,我发现 debian 存储库结构确实已更改 https://packages.microsoft.com/debian/10/ 2021 年 6 月 16 日。有谁知道解决办法?

FROM python:3.7-buster

RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list

RUN apt-get update && ACCEPT_EULA=Y apt-get install -y \
    msodbcsql17 \
    unixodbc-dev \
    openssh-server \
    nginx-full \
    --no-install-recommends \
 && rm -rf /var/lib/apt/lists/*
错误
enter image description here

最佳答案

这是一个普遍问题,问题已部分解决,但下载速度很慢。这是 bleepingcomputer 博客文章的详细报告:Microsoft Linux repos suffer day-long outage, still recovering

Although Microsoft's initial ETA to resolve the issue was "two hours or so," the problem spanned well over 14 hours, with users continuing to experience degraded performance.


微软工程师 Rahul Bhandari 在同一个 GitHub 线程上介入以确认:

"Our infra team is working on this. There is an issue with some of the mirrors on packages.microsoft.com so as per them, the current ETA to resolve this issue is in next two hours or so," said Bhandari.


Bhandari later confirmed that some storage issues were the root cause of these problems.


微软首席工程经理 Ravindra Bhartiya 说:

"We had an incident with packages.microsoft.com that resulted in packages being unavailable."


"Our engineering team has mitigated the issue and our internal data shows improvement in the availability"


"If you still have problems, please provide us more information (output of "apt-get update|install") and we can investigate it further," said Bhartiya.


But even into today, at the time of writing, users are complaining about slow download speeds when retrieving packages from Microsoft's repo.

关于docker - 找不到 Debian 10 生产包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68014478/

相关文章:

安装后找不到docker安装问题文件

docker - libcontainer 在 docker stack 中的什么位置?

linux - Apache DocumentRoot 不会改变

linux - getcap/setcap 在带有 Debian Stretch 主机的 docker 容器中不工作

python - 多处理池在某些运行中丢失变量值

linux - 了解 Docker Macvlan 网络

linux -/usr/local/ssl/lib/libcrypto.a : could not read symbols: Bad value

php - 使用 php 邮件发送的邮件未显示

linux - 如何使用 git 跟踪我的 Linux 发行版的变化?

mysql - 如何通过Dockerfile设置max_allowed_pa​​cket、max_allowed_pa​​cket、character_set_server、collat​​ion-server等mysql系统变量?