1.更新软件索引
sudo apt-get update
2.安装docker依赖软件
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common -y
3.获取docker官方GPG钥匙
curl -fsSL http://download.docker.com/linux/ubuntu/gpg |sudo apt-key add -
4.添加软件仓库
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
5.更新软件索引
sudo apt-get update
6.安装docker-ce
sudo apt-get install docker-ce
7.修改镜像仓库
我使用的是daocloud加速器,在登录之后点击[加速器]按钮 会出现以下指令,执行该指令
8.重启docker
sudo systemctl restart docker.service
9.将当前用户添加到用户组
sudo gpasswd -a ${USER} docker
10.开机启动
systemctl enable docker.service
<div id="zanzhu"><center>
<form class="form123" accept-charset="GBK" action="https://shenghuo.alipay.com/send/payment/fill.htm" method="POST" target="_blank"><input name="pay" src="http://www.stcash.com/wp-content/uploads/2015/08/2015061641852417.png
" type="image" value="转账" />
<input name="optEmail" type="hidden" value="zhuhaitao51@126.com" />
<input name="payAmount" type="hidden" value="9.9" />
<input id="title" name="title" type="hidden" value="" />
<input name="memo" type="hidden" value="" /></form>
<div class="wumii-hook"><input name="wurl" type="hidden" value="http://www.stcash.cn/" />
<input name="wtitle" type="hidden" value="收入低怎么办?低收入者如何提高自己的收入" /></div>
网友评论