嗨,我有一个 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/*
错误最佳答案
这是一个普遍问题,问题已部分解决,但下载速度很慢。这是 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/