在终端中运行以下命令: sudoapt-getinstalldocker-ce 1. 类图 下面是一个简单的类图,展示了解决该问题的主要类及其关系。 «Exception»PackageError-message: String+PackageError(message: String)+getMessage() : StringDockerInstaller-dependency: String[]-keyUrl: String-repositoryUrl: String-packageManager:...
步骤7:安装Docker CE 最后,我们可以通过以下命令来安装Docker CE: sudoapt-getinstalldocker-ce docker-ce-cli containerd.io 1. 现在,你已经成功解决了“Package docker-ce is not available, but is referred to by another package.”错误,并安装了最新的Docker CE。 希望这篇文章对你有所帮助,如果你还有其他...
Ubuntu does not have the docker repo out of the box and running the prepare.sh script throws the below error: Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been ...
1、问题:在纯净机里安装docker时报错No package docker-ce available。 解决办法: 1、更新yum,使用yum -y upgrade(更新所有包)/yum -y update(更新所有包和系统内核,耗时较多) 2、安装 yum-utils,用来管理yum源 yum install -y yum-utils 3、配置阿里镜像:yum-config-manager --add-repo http://mirrors.al...
Package docker-ceisnot available,butisreferredtobyanotherpackage.This may mean that thepackageismissing,has been obsoleted,orisonly available from another source E:Package'docker-ce'has no installation candidate 报错原因: linux版本号19.04,对应发行版本名disco,此版本的源中没有docker-ce的安装包,所以报错...
我在如下安装docker的命令到yum -y install docker-ce 报错No package docker-ce available #1.下载关于docker的依赖环境 yum -y install yum-utils device-mapper-persistent-data lvm2 #2.设置一下下载Docker的镜像源 如果不设置,默认会从官网下载 yum-config-manager --add-repo http://mirrors.aliyun.com/do...
我写了这个命令 sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin 安装码头,但它给了我这个错误。 Reading package lists... Done Building dependency tree Reading state information... Done Package docker-ce is not available, but is referred ...
$ sudo apt-get install docker-ce docker-ce-cli containerd.io 报错: Reading package lists... Done Building dependency tree Reading state information... Done Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsolete...
Docker CE安装问题的解决办法 在使用Docker CE的过程中,有时候会遇到类似于"Package docker-ce is not available, but is referred to by another package"这样的错误信息。这个问题通常是由于软件源配置不正确导致的。本文将为大家详细介绍这个问题的背景和解决办法。