Docker 找不到 pip

时间:2021-06-07 19:22:58

标签: linux docker centos

我现在在 Centos7.9 上。在过去的一个月里,我让 docker 顺利运行容器。今天我试图删除一些不再运行的容器和图像。现在,当我尝试运行 docker build 时,我的 docker 服务找不到 pip3

Step 3/9 : RUN apt install -y python3-pip
 ---> Running in e9e72cb60980


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python3-pip
The command '/bin/sh -c apt install -y python3-pip' returned a non-zero code: 100

我是否删除了一个我不应该在 docker 中使用的容器。我想此时我可能需要重新安装 docker。

0 个答案:

没有答案