<table class="bash">
<tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 installDockerce homedatadocker \ apt-transport-https \ ca-certificates \ curl \ gnupg2 \ software-properties-common curl https:download.docker.comlinuxdebiangpg - 添加docker官网gpg证书 添加源 add-apt-repository \ stable" docker-ce gpasswd dadmin docker 添加docker操作账户 支持/etc/default/docker文件 libsystemdsystemdocker.service libsystemdsystemdocker.service systemctl daemon-reload \ systemctl restart docker 原文链接:https://www.f2er.com/docker/413746.html