mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-28 01:08:53 +00:00
Merge 8d129d0ead
into 85c5a280a4
This commit is contained in:
commit
185af1abc1
@ -46,7 +46,9 @@ docker-ce.x86_64 3:19.03.1-3.el7 docker-ce-stable
|
||||
#### 下载到指定文件夹(A)
|
||||
|
||||
```bash
|
||||
sudo yum install --downloadonly --downloaddir=/tmp/docker-19.03 docker-ce-19.03.8-3.el7 docker-ce-cli-19.03.8-3.el7
|
||||
mkdir -p /home/download/docker-ce-19
|
||||
cd /home/download/docker-ce-19
|
||||
sudo repotrack docker-ce-19.03.8-3.el7 docker-ce-cli-19.03.8-3.el7
|
||||
```
|
||||
|
||||
```bash
|
||||
@ -79,8 +81,9 @@ exiting because "Download Only" specified
|
||||
```
|
||||
#### 复制到目标服务器之后进入文件夹安装(C-N)
|
||||
|
||||
安装时不检查依赖
|
||||
```bash
|
||||
yum install *.rpm
|
||||
rpm -Uvh *.rpm --nodeps --force
|
||||
```
|
||||
|
||||
#### 锁定软件版本(C-N)
|
||||
|
Loading…
Reference in New Issue
Block a user