"docker-ce is not available but is referred to by another package"错误通常是由于软件源的问题导致的。通过更新软件源、删除已有的docker安装、安装docker-ce和启动docker服务这几个步骤,我们可以解决这个问题。记住按照给出的命令执行相应操作即可。
然而,在安装和更新Docker CE时,有时候会遇到软件源配置错误的问题。在本文中,我们详细介绍了解决"Package docker-ce is not available, but is referred to by another package"错误的方法。通过正确配置软件源,我们可以顺利安装和更新Docker CE,从而享受容器化技术带来的便利。 希望本文对大家能够有所帮助,谢谢阅读!
Package docker-ce is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'docker-ce' has no installation candidate E: Unable to locate package docker-ce-cli E: Unable to ...
containerd.io && \ RUN false: The6d34bab07796image is left around. You can pass that todocker runand investigate why the command failed. The8347f442dfaacontainer is also left around, though exited; you can use the variousdocker container...
./scripts/test.sh: line 95: docker: command not found 但是,我已经确保在脚本开始时使用以下方法安装docker: curl -sSL https://get.docker.com/ | sh apt-get install -y docker-ce docker-compose 但这会导致以下错误: Package docker-ce is not available, but is referred to by another package. ...
:warning: This repository is deprecated and will be archived (Docker CE itself is NOT deprecated) see the https://github.com/docker/docker-ce/blob/master/README.md :warning: - docker-archive/docker-ce
docker.io is an older version. But in order to fix the issue you have to find a compatible version. For me the following command is running by specifying the version name. apt install docker-ce=17.12.0~ce-0~ubuntu The following command will list you the available v...
Package docker-ce-selinux is obsoleted by docker-ce, but obsoleting package does not provide for requirements ---> Package docker-ce.x86_64 0:17.06.0.ce-1.el7.centos will be installed --> Processing Dependency: container-selinux >= 2.9 for package: docker-ce-17.06.0.ce-1.el7.centos....
Alternatively, use theDOCKER_CUSTOM_HEADERSenvironment variable, which is available in v27.1 and higher. This environment-variable is experimental, and its exact behavior may change. Credential store options The propertycredsStorespecifies an external binary to serve as the default credential store. When...