linux - Docker 找不到 pip
问题描述
我现在在 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。
解决方案
推荐阅读
- inheritance - Kotlin 列表是……“可实例化”的接口吗?
- python - 按 Pandas 中提到的 TimeFrame 对 Dataframe 进行分组
- react-native - React native expo - 以编程方式获取android中的默认字体系列
- reactjs - 打字稿不允许将变量作为值放入样式数组
- tensorflow - 向现有 Keras 模型添加自定义 base64 字符串转换层
- ios - 加载 usdz 文件时的内存问题
- abap - 为什么不显示 ALV 列表的某些列的值?
- javascript - 为什么这会给 Uncaught ReferenceError
- c# - 无法以编程方式创建团队
- javascript - 在定义之前读取环境变量