Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist Repository extras is listed more than once in the configuration Repository epel is listed more than once in the configuration Last metadata expiration check: 3:07:31 ago on Thu 14 Mar 2024 11:23:43 AM CST. Package yum-utils-4.0.21-3.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist Repository extras is listed more than once in the configuration Repository epel is listed more than once in the configuration Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
Hello from Docker! This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64) 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.
To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/
For more examples and ideas, visit: https://docs.docker.com/get-started/
说明安装成功了。
接下来该把自己的win11电脑上的镜像文件发到服务器上了。
首先要找到镜像文件,但没法直接通过搜索文件找到镜像文件。
需要用指令
格式如下:
1
docker save -o /path/to/save/image.tar yourimagename:tag
我输入的是
1 2
D:/Desktop> (先切换到桌面文件夹下) D:/Desktop>docker save -o ./docker-test-py.tar docker-test-py:latest