docker-scan-plugin(x86-64) is needed by docker-ce-cli-1:20.10.15-3.el7.x86_64
时间: 2023-12-21 16:07:12 浏览: 191
Docker Engine(docker-ce-20.10.13-3.el7.x86_64)
To resolve the issue where docker-scan-plugin(x86-64) is needed by docker-ce-cli-1:20.10.15-3.el7.x86_64, you can try the following steps:
1. Update the Docker repositories by running the command:
```
sudo yum check-update
```
2. Remove any existing Docker packages by running:
```
sudo yum remove docker-ce docker-ce-cli containerd.io
```
3. Install the required dependencies:
```
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
```
4. Configure the Docker CE repository by running:
```
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
```
5. Install Docker CE using the following command:
```
sudo yum install docker-ce docker-ce-cli containerd.io
```
6. Start the Docker service:
```
sudo systemctl start docker
```
7. Verify that Docker is running correctly:
```
sudo docker run hello-world
```
These steps should help you resolve the issue and install Docker CE successfully.
阅读全文