首先必须部署Docker CE 17.05或者以上版本。
首先卸载旧版本,
$ sudo yum remove docker docker-common docker-selinux docker-engine
安装docker ce依赖包,
$ sudo yum install -y yum-utils device-mapper-persistent-data lvm2
配置Docker仓库
$ sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
安装docker ce,
$ sudo yum install docker-ce
启动docker service
$ sudo systemctl start docker
忘记密码:https://docs.openfaas.com/deployment/troubleshooting/#i-forgot-my-gateway-password_1
7be34a97ae6b7b35f559255b806a8bef2da41c4e6b9287dedc9981d83a736bc4