标签:mct docke log ble red ror 安装 net service
参照https://blog.csdn.net/weixin_39806100/article/details/105925731
启动docker
systemctl start docker
设置开机启动docker
systemctl enable docker
查看docker
docker info
由于国内网络问题,需要配置加速器来加速。
需要修改配置文件,修改 /etc/docker/daemon.json
来配置daemon。
vi /etc/docker/daemon.json
在配置文件中加入
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}
重启生效
service docker restart
vi /etc/docker/daemon.json
{“registry-mirrors”:[“https://t5t8q6wn.mirror.aliyuncs.com”]}
systemctl daemon-reload
命令重新加载配置文件
systemctl restart docker
完成
标签:mct docke log ble red ror 安装 net service
原文地址:https://www.cnblogs.com/syrgdm/p/13200430.html