fedora 安装docker

对docker 进行repo 配置

 1 [root@fedora ~]# dnf install docker-ce
 2 Fedora 30 - x86_64 - Updates - aliyun                                                                        31 kB/s | 2.5 kB     00:00    
 3 Failed to synchronize cache for repo 'updates'
 4 Ignoring repositories: updates
 5 Last metadata expiration check: 0:00:43 ago on Mon 05 Aug 2019 10:42:14 PM CST.
 6 Dependencies resolved.
 7 ============================================================================================================================================
 8  Package                           Architecture           Version                                    Repository                        Size
 9 ============================================================================================================================================
10 Installing:
11  docker-ce                         x86_64                 3:19.03.1-3.fc30                           docker-ce-stable                  24 M
12 Installing dependencies:
13  containerd.io                     x86_64                 1.2.6-3.3.fc30                             docker-ce-stable                  21 M
14  docker-ce-cli                     x86_64                 1:19.03.1-3.fc30                           docker-ce-stable                  39 M
15  container-selinux                 noarch                 2:2.95-1.gite3ebc68.fc30                   fedora                            46 k
16  libcgroup                         x86_64                 0.41-21.fc30                               fedora                            61 k
17 
18 Transaction Summary
19 ============================================================================================================================================
20 Install  5 Packages
21 
22 Total download size: 85 M
23 Installed size: 355 M
24 Is this ok [y/N]: y
25 Downloading Packages:
26 (1/5): containerd.io-1.2.6-3.3.fc30.x86_64.rpm                                                              1.3 MB/s |  21 MB     00:16    
27 (2/5): container-selinux-2.95-1.gite3ebc68.fc30.noarch.rpm                                                  213 kB/s |  46 kB     00:00    
28 (3/5): libcgroup-0.41-21.fc30.x86_64.rpm                                                                    255 kB/s |  61 kB     00:00    
29 (4/5): docker-ce-cli-19.03.1-3.fc30.x86_64.rpm                                                              1.3 MB/s |  39 MB     00:29    
30 (5/5): docker-ce-19.03.1-3.fc30.x86_64.rpm                                                                  693 kB/s |  24 MB     00:35    
31 --------------------------------------------------------------------------------------------------------------------------------------------
32 Total                                                                                                       2.4 MB/s |  85 MB     00:35     
33 warning: /var/cache/dnf/docker-ce-stable-ab24de44335f5bb6/packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
34 Docker CE Stable - x86_64                                                                                   1.4 kB/s | 1.6 kB     00:01    
35 Importing GPG key 0x621E9F35:
36  Userid     : "Docker Release (CE rpm) <docker@docker.com>"
37  Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
38  From       : https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/fedora/gpg
39 Is this ok [y/N]: y    
40 Key imported successfully
41 Running transaction check
42 Transaction check succeeded.
43 Running transaction test
44 Transaction test succeeded.
45 Running transaction
46   Preparing        :                                                                                                                    1/1 
47   Installing       : container-selinux-2:2.95-1.gite3ebc68.fc30.noarch                                                                  1/5 
48   Running scriptlet: container-selinux-2:2.95-1.gite3ebc68.fc30.noarch                                                                  1/5 
49 
50   Installing       : containerd.io-1.2.6-3.3.fc30.x86_64                                                                                2/5 
51   Running scriptlet: containerd.io-1.2.6-3.3.fc30.x86_64                                                                                2/5 
52   Running scriptlet: libcgroup-0.41-21.fc30.x86_64                                                                                      3/5 
53   Installing       : libcgroup-0.41-21.fc30.x86_64                                                                                      3/5 
54   Installing       : docker-ce-cli-1:19.03.1-3.fc30.x86_64                                                                              4/5 
55   Running scriptlet: docker-ce-cli-1:19.03.1-3.fc30.x86_64                                                                              4/5 
56   Installing       : docker-ce-3:19.03.1-3.fc30.x86_64                                                                                  5/5 
57   Running scriptlet: docker-ce-3:19.03.1-3.fc30.x86_64                                                                                  5/5 
58   Verifying        : containerd.io-1.2.6-3.3.fc30.x86_64                                                                                1/5 
59   Verifying        : docker-ce-3:19.03.1-3.fc30.x86_64                                                                                  2/5 
60   Verifying        : docker-ce-cli-1:19.03.1-3.fc30.x86_64                                                                              3/5 
61   Verifying        : container-selinux-2:2.95-1.gite3ebc68.fc30.noarch                                                                  4/5 
62   Verifying        : libcgroup-0.41-21.fc30.x86_64                                                                                      5/5 
63 
64 Installed:
65   docker-ce-3:19.03.1-3.fc30.x86_64                      containerd.io-1.2.6-3.3.fc30.x86_64      docker-ce-cli-1:19.03.1-3.fc30.x86_64     
66   container-selinux-2:2.95-1.gite3ebc68.fc30.noarch      libcgroup-0.41-21.fc30.x86_64           
67 
68 Complete!

 

posted on 2019-08-05 14:52  Z_m  阅读(895)  评论(0编辑  收藏  举报

导航